SFTemplateInForm Class Reference

List of all members.

Public Member Functions

 handlePropertySettingInTemplate ($fieldName, $propertyName, $isList, &$templateFields, $templateText)
 For a field name and its attached property name located in the template text, create an SFTemplateField object out of it, and add it to the $templateFields array.
 getAllFields ()
 Get the fields of the template, along with the semantic property attached to each one (if any), by parsing the text of the template.
 getTemplateName ()
 getFields ()
 creationHTML ($template_num)
 createMarkup ()

Static Public Member Functions

static create ($name, $label=null, $allowMultiple=null, $maxAllowed=null, $formFields=null)

Private Attributes

 $mTemplateName
 $mLabel
 $mAllowMultiple
 $mMaxAllowed
 $mFields


Detailed Description

Definition at line 8 of file SF_TemplateInForm.php.


Member Function Documentation

SFTemplateInForm::handlePropertySettingInTemplate ( fieldName,
propertyName,
isList,
&$  templateFields,
templateText 
)

For a field name and its attached property name located in the template text, create an SFTemplateField object out of it, and add it to the $templateFields array.

Definition at line 20 of file SF_TemplateInForm.php.

References SFTemplateField::create().

Referenced by getAllFields().

SFTemplateInForm::getAllFields (  ) 

Get the fields of the template, along with the semantic property attached to each one (if any), by parsing the text of the template.

Definition at line 31 of file SF_TemplateInForm.php.

References SFTemplateField::create(), and handlePropertySettingInTemplate().

static SFTemplateInForm::create ( name,
label = null,
allowMultiple = null,
maxAllowed = null,
formFields = null 
) [static]

SFTemplateInForm::getTemplateName (  ) 

Definition at line 152 of file SF_TemplateInForm.php.

SFTemplateInForm::getFields (  ) 

Definition at line 156 of file SF_TemplateInForm.php.

SFTemplateInForm::creationHTML ( template_num  ) 

Definition at line 160 of file SF_TemplateInForm.php.

References END.

SFTemplateInForm::createMarkup (  ) 

Definition at line 187 of file SF_TemplateInForm.php.


Member Data Documentation

SFTemplateInForm::$mTemplateName [private]

Definition at line 9 of file SF_TemplateInForm.php.

SFTemplateInForm::$mLabel [private]

Definition at line 10 of file SF_TemplateInForm.php.

SFTemplateInForm::$mAllowMultiple [private]

Definition at line 11 of file SF_TemplateInForm.php.

SFTemplateInForm::$mMaxAllowed [private]

Definition at line 12 of file SF_TemplateInForm.php.

SFTemplateInForm::$mFields [private]

Definition at line 13 of file SF_TemplateInForm.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