Class: I2CE Swiss Default Leaf: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article desrcibes the class '''I2CE_Swiss_Default_Leaf'''. | This article desrcibes the class '''I2CE_Swiss_Default_Leaf'''. | ||
*Extends the class: [[Class: I2CE_Swiss_Default_Base | I2CE_Swiss_Default_Base]]. | *Extends the class: [[Class: I2CE_Swiss_Default_Base | I2CE_Swiss_Default_Base]]. | ||
*Location: Part of the module [[iHRIS Module List#swissfactory|swissfactory]] in the package [https://launchpad.net/i2ce I2CE] | |||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php] | |||
*Author: Carl Leitner <litlfred@ibiblio.org> | |||
I2CE_Swiss_Default_Leaf | I2CE_Swiss_Default_Leaf | ||
==Variables== | ==Variables== | ||
===$error=== | ===$error=== |
Revision as of 23:04, 16 October 2009
This article desrcibes the class I2CE_Swiss_Default_Leaf.
- Extends the class: I2CE_Swiss_Default_Base.
- Location: Part of the module swissfactory in the package I2CE
- Source: Defined in the file modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php
- Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_Swiss_Default_Leaf
Variables
$error
@var protected mixed $errors.
- Type: protected $error
Methods
__construct()
Constructor @param I2CE_MagicDataNode the storage for this swiss
- Signature: public function __construct($storage,$factory,$name,$parent)
Parameters:
- $storage
- $factory
- $name
- Default Value: null
- $parent
- Default Value: null
displayValues()
- Signature: public function displayValues($contentNode,$transient_options,$action)
Parameters:
- $contentNode
- $transient_options
- $action
processValues()
Called by updateValues() where ZZZZ is a config path (no instance), YYYY is either 'many' or 'single', and XXXX is a data type (e.g. 'string')
- Signature: public function processValues($vals)
- Returns: false on failure
Parameters:
- array $vals
an associateive array of values. Keys are of the form 'value_XXXXX_YYYY/ZZZZ
setValue_delimited_many()
- Signature: public function setValue_delimited_many($config,$val)
Parameters:
- $config
- $val
setValue_delimited_single()
- Signature: public function setValue_delimited_single($config,$val)
Parameters:
- $config
- $val
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
- Signature: public function setValue_string_many($config,$val)
- Returns: false on failure
Parameters:
- $config
- mixed $val
updatePairs()
- Signature: protected function updatePairs($config,$val)
Parameters:
- $config
- $val
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()