SFTemplateField Class Reference

List of all members.

Public Member Functions

 setTypeAndPossibleValues ()
 setSemanticProperty ($semantic_property)
 Called if a matching property is found for a template field when a template is parsed during the creation of a form.
 getFieldName ()
 getValueLabels ()
 getLabel ()
 getSemanticProperty ()
 getPropertyType ()
 getPossibleValues ()
 isList ()
 getInputType ()
 setTemplateField ($templateField)
 setLabel ($label)
 setInputType ($inputType)

Static Public Member Functions

static create ($name, $label, $semanticProperty=null, $isList=null, $delimiter=null, $display=null)
static createFromList ($field_name, $all_fields, $strict_parsing)
 Create an SFTemplateField object based on the corresponding field in the template definition (which we first have to find).
static createTemplateText ($template_name, $template_fields, $internal_obj_property, $category, $aggregating_property, $aggregating_label, $template_format)
 Creates the text of a template, when called from Special:CreateTemplate, Special:CreateClass or the Page Schemas extension.

Private Attributes

 $mFieldName
 $mValueLabels
 $mLabel
 $mSemanticProperty
 $mPropertyType
 $mPossibleValues
 $mIsList
 $mDelimiter
 $mDisplay
 $mInputType


Detailed Description

Definition at line 12 of file SF_TemplateField.php.


Member Function Documentation

static SFTemplateField::create ( name,
label,
semanticProperty = null,
isList = null,
delimiter = null,
display = null 
) [static]

static SFTemplateField::createFromList ( field_name,
all_fields,
strict_parsing 
) [static]

Create an SFTemplateField object based on the corresponding field in the template definition (which we first have to find).

Definition at line 43 of file SF_TemplateField.php.

SFTemplateField::setTypeAndPossibleValues (  ) 

SFTemplateField::setSemanticProperty ( semantic_property  ) 

Called if a matching property is found for a template field when a template is parsed during the creation of a form.

Definition at line 107 of file SF_TemplateField.php.

References setTypeAndPossibleValues().

SFTemplateField::getFieldName (  ) 

Definition at line 114 of file SF_TemplateField.php.

SFTemplateField::getValueLabels (  ) 

Definition at line 118 of file SF_TemplateField.php.

SFTemplateField::getLabel (  ) 

Definition at line 122 of file SF_TemplateField.php.

SFTemplateField::getSemanticProperty (  ) 

Definition at line 126 of file SF_TemplateField.php.

SFTemplateField::getPropertyType (  ) 

Definition at line 130 of file SF_TemplateField.php.

SFTemplateField::getPossibleValues (  ) 

Definition at line 134 of file SF_TemplateField.php.

SFTemplateField::isList (  ) 

Definition at line 138 of file SF_TemplateField.php.

SFTemplateField::getInputType (  ) 

Definition at line 142 of file SF_TemplateField.php.

SFTemplateField::setTemplateField ( templateField  ) 

Definition at line 146 of file SF_TemplateField.php.

SFTemplateField::setLabel ( label  ) 

Definition at line 150 of file SF_TemplateField.php.

SFTemplateField::setInputType ( inputType  ) 

Definition at line 154 of file SF_TemplateField.php.

static SFTemplateField::createTemplateText ( template_name,
template_fields,
internal_obj_property,
category,
aggregating_property,
aggregating_label,
template_format 
) [static]

Creates the text of a template, when called from Special:CreateTemplate, Special:CreateClass or the Page Schemas extension.

: There's really no good reason why this method is contained within this class.

Definition at line 166 of file SF_TemplateField.php.

References END.

Referenced by SFCreateClass::execute(), SFPageSchemas::generatePages(), and SFCreateTemplate::printCreateTemplateForm().


Member Data Documentation

SFTemplateField::$mFieldName [private]

Definition at line 13 of file SF_TemplateField.php.

SFTemplateField::$mValueLabels [private]

Definition at line 14 of file SF_TemplateField.php.

SFTemplateField::$mLabel [private]

Definition at line 15 of file SF_TemplateField.php.

SFTemplateField::$mSemanticProperty [private]

Definition at line 16 of file SF_TemplateField.php.

SFTemplateField::$mPropertyType [private]

Definition at line 17 of file SF_TemplateField.php.

SFTemplateField::$mPossibleValues [private]

Definition at line 18 of file SF_TemplateField.php.

SFTemplateField::$mIsList [private]

Definition at line 19 of file SF_TemplateField.php.

SFTemplateField::$mDelimiter [private]

Definition at line 20 of file SF_TemplateField.php.

SFTemplateField::$mDisplay [private]

Definition at line 21 of file SF_TemplateField.php.

SFTemplateField::$mInputType [private]

Definition at line 22 of file SF_TemplateField.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