Midgard Classic API

From OpenPSA Wiki

Jump to: navigation, search

The Midgard Classic API consists of general (or Object) methods and those that are class-specific.

Contents

[edit] General API

[edit] Object management methods

$object->create
$object->delete
$object->getsitegroup
$object->guid
$object->parent
$object->setscore
$object->setsitegroup
$object->settype
$object->update

[edit] Attachment handling methods

$object->createattachment
$object->deleteattachment
$object->getattachment
$object->listattachments
$object->openattachment
$object->serveattachment
$object->updateattachment

[edit] Parameter handling methods

$object->listparameters
$object->parameter
$object->searchparameters

[edit] Multilingual content methods

$object->create_content
$object->delete_content
$object->update_content

[edit] Class-specific APIs

A (non-complete) list of functions of the Class-specific API:

Article Functions
mgd_get_article
Topic Functions
mgd_get_topic
Style Functions
mgd_get_style
Style Element Functions
mgd_get_style_element
Hosts Functions
mgd_get_host
Page Functions
mgd_get_page
Page Element Functions
mgd_get_page_element
Snippet Functions
mgd_get_snippet
Personal tools