Class org_geoprisma_field_Field

Description

Base class for fields config elements.

  • author: Alexandre Dube

Located in /org/geoprisma/field/Field.php (line 23)

org_geoprisma_ConfigElement
   |
   --org_geoprisma_field_Field
Variable Summary
Method Summary
org_geoprisma_datastore_Datastore __construct (integer $piId, string $pstrName, array $pobjArray, [string $pstrTitle = null])
string getId ()
string getName ()
ArrayObject getOptions ()
string getTitle ()
void insertIntoXML ( &$pobjDomElementFields,  &$pobjDomDocument)
Variables
mixed $m_objArrayOptions = null (line 28)
  • access: protected
Methods
Constructor __construct (line 40)

Create a new org_geoprisma_field_Field instance.

  • access: public
org_geoprisma_datastore_Datastore __construct (integer $piId, string $pstrName, array $pobjArray, [string $pstrTitle = null])
  • integer $piId: Id of the field
  • string $pstrName: Name of the field
  • array $pobjArray: The datastore in its php array form
  • string $pstrTitle: (Optional) Title of the field
getId (line 107)

Get field id

  • access: public
string getId ()
getName (line 97)

Get field name

  • access: public
string getName ()
getOption (line 139)

Get a specific option using its name

  • access: public
org_geoprisma_option_Option getOption (string $pstrName)
  • string $pstrName: Option name
getOptions (line 127)

Get field options

  • access: public
ArrayObject getOptions ()
getTitle (line 117)

Get field title

  • access: public
string getTitle ()
insertIntoXML (line 162)

Add current field in XML.

  • access: public
void insertIntoXML ( &$pobjDomElementFields,  &$pobjDomDocument)
  • DOMElement &$pobjDomElementFields: Node in which to add the field
  • DOMDocument &$pobjDomDocument: XML document

Inherited Methods

Inherited From org_geoprisma_ConfigElement

org_geoprisma_ConfigElement::getConfigElements()
org_geoprisma_ConfigElement::getDomElements()

Documentation generated on Mon, 20 Feb 2012 13:46:14 -0500 by phpDocumentor 1.4.1