Class: I2CE Swiss Default Leaf

From IHRIS Wiki
Revision as of 22:27, 16 October 2009 by Litlfred (talk | contribs)

This article desrcibes the class I2CE_Swiss_Default_Leaf.

It is contained in the module swissfactory in the package I2CE

The class is defined in the file: modules/SwissFactory/lib/I2CE_Swiss_Default_Leaf.php

I2CE_Swiss_Default_Leaf @subpackage Core

  • Author: Carl Leitner <litlfred@ibiblio.org>

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:

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()