SFPageSchemas Class Reference

List of all members.

Static Public Member Functions

static registerClass ()
static createPageSchemasObject ($tagName, $xml)
 Creates an object to hold form-wide information, based on an XML object from the Page Schemas extension.
static createSchemaXMLFromForm ()
 Creates Page Schemas XML for form-wide information.
static createTemplateXMLFromForm ()
 Creates Page Schemas XML from form information on templates.
static createFieldXMLFromForm ()
 Creates Page Schemas XML for form fields.
static getDisplayColor ()
static getSchemaDisplayString ()
static getSchemaEditingHTML ($pageSchemaObj)
static getTemplateEditingHTML ($psTemplate)
static getFieldEditingHTML ($psField)
 Returns the HTML for inputs to define a single form field, within the Page Schemas 'edit schema' page.
static getFormName ($pageSchemaObj)
static getMainFormInfo ($pageSchemaObj)
static getFormFieldInfo ($psTemplate, $template_fields)
static getPagesToGenerate ($pageSchemaObj)
 Return the list of pages that Semantic Forms could generate from the current Page Schemas schema.
static getFieldsFromTemplateSchema ($psTemplate)
 Returns an array of SFTemplateField objects, representing the fields of a template, based on the contents of a <PageSchema> tag.
static generateForm ($formName, $formTitle, $formTemplates, $formDataFromSchema, $categoryName)
 Creates a form page, when called from the 'generatepages' page of Page Schemas.
static generatePages ($pageSchemaObj, $selectedPages)
 Generate pages (form and templates) specified in the list.
static getSchemaDisplayValues ($schemaXML)
static getTemplateValues ($psTemplate)
static getTemplateDisplayString ()
static getTemplateDisplayValues ($templateXML)
 Displays form details for one template in the Page Schemas XML.
static getFieldDisplayString ()
static getFieldDisplayValues ($fieldXML)
 Displays data on a single form input in the Page Schemas XML.


Detailed Description

Definition at line 12 of file SF_PageSchemas.php.


Member Function Documentation

static SFPageSchemas::registerClass (  )  [static]

Definition at line 13 of file SF_PageSchemas.php.

static SFPageSchemas::createPageSchemasObject ( tagName,
xml 
) [static]

Creates an object to hold form-wide information, based on an XML object from the Page Schemas extension.

Definition at line 23 of file SF_PageSchemas.php.

static SFPageSchemas::createSchemaXMLFromForm (  )  [static]

Creates Page Schemas XML for form-wide information.

Definition at line 67 of file SF_PageSchemas.php.

static SFPageSchemas::createTemplateXMLFromForm (  )  [static]

Creates Page Schemas XML from form information on templates.

Definition at line 97 of file SF_PageSchemas.php.

static SFPageSchemas::createFieldXMLFromForm (  )  [static]

Creates Page Schemas XML for form fields.

Definition at line 123 of file SF_PageSchemas.php.

static SFPageSchemas::getDisplayColor (  )  [static]

Definition at line 162 of file SF_PageSchemas.php.

static SFPageSchemas::getSchemaDisplayString (  )  [static]

Definition at line 166 of file SF_PageSchemas.php.

static SFPageSchemas::getSchemaEditingHTML ( pageSchemaObj  )  [static]

Definition at line 170 of file SF_PageSchemas.php.

References END.

static SFPageSchemas::getTemplateEditingHTML ( psTemplate  )  [static]

Definition at line 227 of file SF_PageSchemas.php.

static SFPageSchemas::getFieldEditingHTML ( psField  )  [static]

Returns the HTML for inputs to define a single form field, within the Page Schemas 'edit schema' page.

Definition at line 251 of file SF_PageSchemas.php.

static SFPageSchemas::getFormName ( pageSchemaObj  )  [static]

Definition at line 296 of file SF_PageSchemas.php.

Referenced by SFFormLinker::getDefaultFormsForPage().

static SFPageSchemas::getMainFormInfo ( pageSchemaObj  )  [static]

Definition at line 304 of file SF_PageSchemas.php.

static SFPageSchemas::getFormFieldInfo ( psTemplate,
template_fields 
) [static]

Definition at line 326 of file SF_PageSchemas.php.

References SFFormField::create().

static SFPageSchemas::getPagesToGenerate ( pageSchemaObj  )  [static]

Return the list of pages that Semantic Forms could generate from the current Page Schemas schema.

Definition at line 356 of file SF_PageSchemas.php.

static SFPageSchemas::getFieldsFromTemplateSchema ( psTemplate  )  [static]

Returns an array of SFTemplateField objects, representing the fields of a template, based on the contents of a <PageSchema> tag.

Definition at line 375 of file SF_PageSchemas.php.

References SFTemplateField::create().

static SFPageSchemas::generateForm ( formName,
formTitle,
formTemplates,
formDataFromSchema,
categoryName 
) [static]

Creates a form page, when called from the 'generatepages' page of Page Schemas.

Definition at line 403 of file SF_PageSchemas.php.

References SFForm::create().

static SFPageSchemas::generatePages ( pageSchemaObj,
selectedPages 
) [static]

Generate pages (form and templates) specified in the list.

Definition at line 429 of file SF_PageSchemas.php.

References SFTemplateInForm::create(), and SFTemplateField::createTemplateText().

static SFPageSchemas::getSchemaDisplayValues ( schemaXML  )  [static]

Definition at line 499 of file SF_PageSchemas.php.

static SFPageSchemas::getTemplateValues ( psTemplate  )  [static]

Definition at line 513 of file SF_PageSchemas.php.

static SFPageSchemas::getTemplateDisplayString (  )  [static]

Definition at line 529 of file SF_PageSchemas.php.

static SFPageSchemas::getTemplateDisplayValues ( templateXML  )  [static]

Displays form details for one template in the Page Schemas XML.

Definition at line 536 of file SF_PageSchemas.php.

static SFPageSchemas::getFieldDisplayString (  )  [static]

Definition at line 554 of file SF_PageSchemas.php.

static SFPageSchemas::getFieldDisplayValues ( fieldXML  )  [static]

Displays data on a single form input in the Page Schemas XML.

Definition at line 561 of file SF_PageSchemas.php.


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

Generated on Sun Mar 18 07:15:42 2012 for Semantic MediaWiki by  doxygen 1.5.6