Semantic MediaWiki and related extensions
Static Public Member Functions | List of all members
SMWPageSchemas Class Reference
Inheritance diagram for SMWPageSchemas:
Inheritance graph
[legend]
Collaboration diagram for SMWPageSchemas:
Collaboration graph
[legend]

Static Public Member Functions

static getDisplayColor ()
 
static getTemplateDisplayString ()
 
static getFieldDisplayString ()
 
static getTemplateDisplayValues ( $templateXML)
 
static getFieldDisplayValues ( $fieldXML)
 
static getAllPropertyData ( $pageSchemaObj)
 
static createTemplateXMLFromForm ()
 
static getConnectingPropertyName ( $psTemplate)
 
static getPagesToGenerate ( $pageSchemaObj)
 
static createFieldXMLFromForm ()
 
static getTemplateEditingHTML ( $psTemplate)
 
static getFieldEditingHTML ( $psTemplateField)
 
static generatePages ( $pageSchemaObj, $selectedPages)
 
static createPageSchemasObject ( $tagName, $xml)
 

Detailed Description

Functions for handling Semantic MediaWiki data within the Page Schemas extension.

Author
Ankit Garg
Yaron Koren

Member Function Documentation

◆ createFieldXMLFromForm()

static SMWPageSchemas::createFieldXMLFromForm ( )
static

Constructs XML for the SMW property, based on what was submitted in the 'edit schema' form.

◆ createPageSchemasObject()

static SMWPageSchemas::createPageSchemasObject (   $tagName,
  $xml 
)
static

Returns either the "connecting property", or a field property, based on the XML passed from the Page Schemas extension.

◆ createTemplateXMLFromForm()

static SMWPageSchemas::createTemplateXMLFromForm ( )
static

Constructs XML for the "connecting property", based on what was submitted in the 'edit schema' form.

◆ generatePages()

static SMWPageSchemas::generatePages (   $pageSchemaObj,
  $selectedPages 
)
static

Creates the property page for each property specified in the passed-in Page Schemas XML object.

◆ getAllPropertyData()

static SMWPageSchemas::getAllPropertyData (   $pageSchemaObj)
static

Returns the set of SMW property data from the entire page schema.

◆ getFieldDisplayValues()

static SMWPageSchemas::getFieldDisplayValues (   $fieldXML)
static

Returns the display info for the property (if any is defined) for a single field in the Page Schemas XML.

◆ getFieldEditingHTML()

static SMWPageSchemas::getFieldEditingHTML (   $psTemplateField)
static

Returns the HTML necessary for getting information about a regular semantic property within the Page Schemas 'editschema' page.

◆ getPagesToGenerate()

static SMWPageSchemas::getPagesToGenerate (   $pageSchemaObj)
static

Sets the list of property pages defined by the passed-in Page Schemas object.

◆ getTemplateDisplayValues()

static SMWPageSchemas::getTemplateDisplayValues (   $templateXML)
static

Returns the display info for the "connecting property" (if any) of the #subobject call (if any) in this template.

◆ getTemplateEditingHTML()

static SMWPageSchemas::getTemplateEditingHTML (   $psTemplate)
static

Returns the HTML necessary for getting information about the "connecting property" within the Page Schemas 'editschema' page.


The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy