◆ createFieldXMLFromForm()
static PFPageSchemas::createFieldXMLFromForm |
( |
| ) |
|
|
static |
Creates Page Schemas XML for form fields.
- Returns
- string[]
◆ createPageSchemasObject()
static PFPageSchemas::createPageSchemasObject |
( |
|
$tagName, |
|
|
|
$xml |
|
) |
| |
|
static |
Creates an object to hold form-wide information, based on an XML object from the Page Schemas extension.
- Parameters
-
string | $tagName | |
string | $xml | |
- Returns
- string[]|null
◆ createPageSectionXMLFromForm()
static PFPageSchemas::createPageSectionXMLFromForm |
( |
| ) |
|
|
static |
Creates Page Schemas XML for page sections
- Returns
- string[]
◆ createSchemaXMLFromForm()
static PFPageSchemas::createSchemaXMLFromForm |
( |
| ) |
|
|
static |
Creates Page Schemas XML for form-wide information.
- Returns
- string
◆ createTemplateXMLFromForm()
static PFPageSchemas::createTemplateXMLFromForm |
( |
| ) |
|
|
static |
Creates Page Schemas XML from form information on templates.
- Returns
- string[]
◆ generateForm()
static PFPageSchemas::generateForm |
( |
|
$formName, |
|
|
|
$formTitle, |
|
|
|
$formItems, |
|
|
|
$formDataFromSchema, |
|
|
|
$categoryName |
|
) |
| |
|
static |
Creates a form page, when called from the 'generatepages' page of Page Schemas.
- Parameters
-
string | $formName | |
string | $formTitle | |
array | $formItems | |
array | $formDataFromSchema | |
string | $categoryName | |
◆ generatePages()
static PFPageSchemas::generatePages |
( |
|
$pageSchemaObj, |
|
|
|
$selectedPages |
|
) |
| |
|
static |
Generate pages (form and templates) specified in the list.
- Parameters
-
PageSchemas | $pageSchemaObj | |
array | $selectedPages | |
◆ getFieldDisplayValues()
static PFPageSchemas::getFieldDisplayValues |
( |
|
$fieldXML | ) |
|
|
static |
Displays data on a single form input in the Page Schemas XML.
- Parameters
-
- Returns
- array|null
◆ getFieldEditingHTML()
static PFPageSchemas::getFieldEditingHTML |
( |
|
$psField | ) |
|
|
static |
Returns the HTML for inputs to define a single form field, within the Page Schemas 'edit schema' page.
- Parameters
-
- Returns
- array
◆ getFieldsFromTemplateSchema()
static PFPageSchemas::getFieldsFromTemplateSchema |
( |
|
$psTemplate | ) |
|
|
static |
Returns an array of PFTemplateField objects, representing the fields of a template, based on the contents of a <PageSchema> tag.
- Parameters
-
- Returns
- PFTemplateField[]
◆ getPagesToGenerate()
static PFPageSchemas::getPagesToGenerate |
( |
|
$pageSchemaObj | ) |
|
|
static |
Return the list of pages that Page Forms could generate from the current Page Schemas schema.
- Parameters
-
- Returns
- Title[]
◆ getTemplateDisplayValues()
static PFPageSchemas::getTemplateDisplayValues |
( |
|
$templateXML | ) |
|
|
static |
Displays form details for one template in the Page Schemas XML.
- Parameters
-
- Returns
- null|array
The documentation for this class was generated from the following file: