Class: I2CE Swiss Default Leaf (Development): Difference between revisions

From IHRIS Wiki
(Created page with '{{otherversions|Class: I2CE_Swiss_Default_Leaf}} This article describes the class ''I2CE_Swiss_Default_Leaf'' . *Extends the class: [[Class: I2CE_Swiss_Default_Base (Development)…')
 
No edit summary
 
Line 2: Line 2:
This article describes the class ''I2CE_Swiss_Default_Leaf'' .
This article describes the class ''I2CE_Swiss_Default_Leaf'' .
*Extends the class: [[Class: I2CE_Swiss_Default_Base (Development) | I2CE_Swiss_Default_Base]].
*Extends the class: [[Class: I2CE_Swiss_Default_Base (Development) | I2CE_Swiss_Default_Base]].
*Location: Part of the module [[I2CE Module List (Development)#swissfactory|swissfactory]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev
*Location: Part of the module [[I2CE Module List (Development)#swissfactory|swissfactory]] in the package [https://launchpad.net/i2ce I2CE] 4.1-dev
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L29 modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 29
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L29 modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 29
*Author: Carl Leitner <litlfred@ibiblio.org>
*Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_Swiss_Default_Leaf
I2CE_Swiss_Default_Leaf
Line 9: Line 9:
===$error===
===$error===
@var protected mixed $errors.
@var protected mixed $errors.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L130 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 130
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L130 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 130
*Type: protected $error
*Type: protected $error


Line 15: Line 15:
===__construct()===
===__construct()===
Constructor @param I2CE_MagicDataNode the storage for this swiss
Constructor @param I2CE_MagicDataNode the storage for this swiss
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L136 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 136
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L136 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 136
*Signature: public function __construct($storage,$factory,$name,$parent)
*Signature: public function __construct($storage,$factory,$name,$parent)
*Parameters:
*Parameters:
Line 25: Line 25:
***Default Value: null
***Default Value: null
===displayValues()===
===displayValues()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L92 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 92
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L92 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 92
*Signature: public function displayValues($contentNode,$transient_options,$action)
*Signature: public function displayValues($contentNode,$transient_options,$action)
*Parameters:
*Parameters:
Line 33: Line 33:
===processValues()===
===processValues()===
Called by updateValues()
Called by updateValues()
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L149 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 149
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L149 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 149
*Signature: public function processValues($vals)
*Signature: public function processValues($vals)
*Parameters:
*Parameters:
Line 39: Line 39:
*Returns: false<br/>on failure
*Returns: false<br/>on failure
===setValue_delimited_many()===
===setValue_delimited_many()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L45 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 45
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L45 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 45
*Signature: public function setValue_delimited_many($config,$val)
*Signature: public function setValue_delimited_many($config,$val)
*Parameters:
*Parameters:
Line 45: Line 45:
**$val  
**$val  
===setValue_delimited_single()===
===setValue_delimited_single()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L42 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 42
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L42 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 42
*Signature: public function setValue_delimited_single($config,$val)
*Signature: public function setValue_delimited_single($config,$val)
*Parameters:
*Parameters:
Line 52: Line 52:
===setValue_string_many()===
===setValue_string_many()===
Set the value at the magic data node associated to the path where the type of the value is a many valued string @param I2CE_MagicDataNode
Set the value at the magic data node associated to the path where the type of the value is a many valued string @param I2CE_MagicDataNode
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L38 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 38
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L38 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 38
*Signature: public function setValue_string_many($config,$val)
*Signature: public function setValue_string_many($config,$val)
*Parameters:
*Parameters:
Line 59: Line 59:
*Returns: false<br/>on failure
*Returns: false<br/>on failure
===updatePairs()===
===updatePairs()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L48 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 48
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php#L48 i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] on line 48
*Signature: protected function updatePairs($config,$val)
*Signature: protected function updatePairs($config,$val)
*Parameters:
*Parameters:

Latest revision as of 09:19, 6 May 2015


This article describes the class I2CE_Swiss_Default_Leaf .

I2CE_Swiss_Default_Leaf

Variables

$error

@var protected mixed $errors.

Methods

__construct()

Constructor @param I2CE_MagicDataNode the storage for this swiss

displayValues()

processValues()

Called by updateValues()

  • Defined in i2ce/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php on line 149
  • Signature: public function processValues($vals)
  • Parameters:
    • array $vals
      an associateive array of values. Keys are of the form 'value_XXXXX_YYYY/ZZZZ where ZZZZ is a config path (no instance), YYYY is either 'many' or 'single', and XXXX is a data type (e.g. 'string')
  • Returns: false
    on failure

setValue_delimited_many()

setValue_delimited_single()

setValue_string_many()

Set the value at the magic data node associated to the path where the type of the value is a many valued string @param I2CE_MagicDataNode

updatePairs()

Inherited Methods

displayOptions()

This public method is inherited from I2CE_Swiss_Default_Base->displayOptions()

getLocale()

This public method is inherited from I2CE_Swiss_Default_Base->getLocale()

addAjaxLink()

This public method is inherited from I2CE_Swiss->addAjaxLink()

addLink()

This public method is inherited from I2CE_Swiss->addLink()

count()

This public method is inherited from I2CE_Swiss->count()

current()

This public method is inherited from I2CE_Swiss->current()

display()

This public method is inherited from I2CE_Swiss->display()

getAjaxJSNodes()

This public method is inherited from I2CE_Swiss->getAjaxJSNodes()

getAttribute()

This public method is inherited from I2CE_Swiss->getAttribute()

getChild()

This public method is inherited from I2CE_Swiss->getChild()

getChildNames()

This public method is inherited from I2CE_Swiss->getChildNames()

getDescription()

This public method is inherited from I2CE_Swiss->getDescription()

getDisplayName()

This public method is inherited from I2CE_Swiss->getDisplayName()

getFactory()

This public method is inherited from I2CE_Swiss->getFactory()

getField()

This public method is inherited from I2CE_Swiss->getField()

getKeys()

This public method is inherited from I2CE_Swiss->getKeys()

getName()

This public method is inherited from I2CE_Swiss->getName()

getPage()

This public method is inherited from I2CE_Swiss->getPage()

getParent()

This public method is inherited from I2CE_Swiss->getParent()

getPath()

This public method is inherited from I2CE_Swiss->getPath()

getStatus()

This public method is inherited from I2CE_Swiss->getStatus()

getStorage()

This public method is inherited from I2CE_Swiss->getStorage()

getURLQueryString()

This public method is inherited from I2CE_Swiss->getURLQueryString()

getURLRoot()

This public method is inherited from I2CE_Swiss->getURLRoot()

hasAttribute()

This public method is inherited from I2CE_Swiss->hasAttribute()

hasField()

This public method is inherited from I2CE_Swiss->hasField()

hasParent()

This public method is inherited from I2CE_Swiss->hasParent()

humanText()

This public method is inherited from I2CE_Swiss->humanText()

initializeDisplay()

This public method is inherited from I2CE_Swiss->initializeDisplay()

key()

This public method is inherited from I2CE_Swiss->key()

next()

This public method is inherited from I2CE_Swiss->next()

postprocessDisplay()

This public method is inherited from I2CE_Swiss->postprocessDisplay()

prefixName()

This public method is inherited from I2CE_Swiss->prefixName()

renameInputs()

This public method is inherited from I2CE_Swiss->renameInputs()

rewind()

This public method is inherited from I2CE_Swiss->rewind()

setField()

This public method is inherited from I2CE_Swiss->setField()

setPage()

This public method is inherited from I2CE_Swiss->setPage()

setTranslatableField()

This public method is inherited from I2CE_Swiss->setTranslatableField()

updateValues()

This public method is inherited from I2CE_Swiss->updateValues()

valid()

This public method is inherited from I2CE_Swiss->valid()

_getChild()

This protected method is inherited from I2CE_Swiss->_getChild()

addAjaxOptionMenu()

This protected method is inherited from I2CE_Swiss->addAjaxOptionMenu()

addOptionMenu()

This protected method is inherited from I2CE_Swiss->addOptionMenu()

changeClassOnNodes()

This protected method is inherited from I2CE_Swiss->changeClassOnNodes()

createIfNotExists()

This protected method is inherited from I2CE_Swiss->createIfNotExists()

getChildType()

This protected method is inherited from I2CE_Swiss->getChildType()

validateValues()

This protected method is inherited from I2CE_Swiss->validateValues()

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Variables

$name

Theis protected variable is inherited from I2CE_Swiss->$name

$path

Theis protected variable is inherited from I2CE_Swiss->$path

$parent

Theis protected variable is inherited from I2CE_Swiss->$parent

$page

Theis protected variable is inherited from I2CE_Swiss->$page

$template

Theis protected variable is inherited from I2CE_Swiss->$template

$children

Theis protected variable is inherited from I2CE_Swiss->$children

Inherited Fuzzy Methods

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()

Fuzzy Methods

editValue_string_single()

This method is implemented by I2CE_Module_SwissFactory->editValue_string_single()

editValue_string_many()

This method is implemented by I2CE_Module_SwissFactory->editValue_string_many()

editValue_delimited_single()

This method is implemented by I2CE_Module_SwissFactory->editValue_delimited_single()

editValue_delimited_many()

This method is implemented by I2CE_Module_SwissFactory->editValue_delimited_many()

editValue_boolean_single()

This method is implemented by I2CE_Module_SwissFactory->editValue_boolean_single()

editValue_boolean_many()

This method is implemented by I2CE_Module_SwissFactory->editValue_boolean_many()

editValue_list_single()

This method is implemented by I2CE_Module_SwissFactory->editValue_list_single()

editValue_list_many()

This method is implemented by I2CE_Module_SwissFactory->editValue_list_many()

viewValue_string_single()

This method is implemented by I2CE_Module_SwissFactory->viewValue_string_single()

viewValue_string_many()

This method is implemented by I2CE_Module_SwissFactory->viewValue_string_many()

viewValue_delimited_single()

This method is implemented by I2CE_Module_SwissFactory->viewValue_delimited_single()

viewValue_delimited_many()

This method is implemented by I2CE_Module_SwissFactory->viewValue_delimited_many()

viewValue_boolean_single()

This method is implemented by I2CE_Module_SwissFactory->viewValue_boolean_single()

viewValue_boolean_many()

This method is implemented by I2CE_Module_SwissFactory->viewValue_boolean_many()

viewValue_list_single()

This method is implemented by I2CE_Module_SwissFactory->viewValue_list_single()

viewValue_list_many()

This method is implemented by I2CE_Module_SwissFactory->viewValue_list_many()