Class: I2CE SwissConfigFactory

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

This article desrcibes the class I2CE_SwissConfigFactorywhich extends the class I2CE_SwissFactory It is contained in the module swissConfig in the package I2CE The class is defined in the file: modules/SwissFactory/modules/SwissConfig/lib/I2CE_SwissConfigFactory.php I2CE_SwissConfigFactory @package I2CE @subpackage Core @author Carl Leitner <litlfred@ibiblio.org> @version 2.1 @access public

Variables

$configNodes

@var protected DOMNode $configNode

  • Type: protected $configNodes

$statii

  • Type: protected $statii

$module

  • Type: protected $module

$translatedConfigs

  • Type: protected $translatedConfigs

$child_node_cache

  • Type: protected $child_node_cache

$child_node_cache_index

  • Type: protected $child_node_cache_index

Methods

__construct()

construct a swiss swiss factory and create it if it doesn't exist. @param I2CE_MagicDataNode $storage. The root of the magic data we will be operating on @param string $swissName. The classname for the root swiss object. @throws Exception

  • Signature: public function __construct($page,$options)

Parameters:

  • $page
  • $options
    • Default Value: array()

count()

  • Signature: public function count($swiss)

Parameters:

  • $swiss

displayValues()

  • Signature: public function displayValues($contentNode,$path,$transient_options)

Parameters:

  • $contentNode
  • $path
  • $transient_options

editValues()

  • Signature: public function editValues($contentNode,$path,$transient_options)

Parameters:

  • $contentNode
  • $path
  • $transient_options

ensureIterator()

  • Signature: protected function ensureIterator($swiss)

Parameters:

  • $swiss

getAttribute()

  • Signature: public function getAttribute($swiss,$attr)

Parameters:

  • $swiss
  • $attr

getChildConfigNode()

  • Signature: protected function getChildConfigNode($node,$child)

Parameters:

  • $node
  • $child

getChildConfigNodes()

  • Signature: protected function getChildConfigNodes($swiss,$child)

Parameters:

  • $swiss
  • $child
    • Default Value: null

getChildNames()

  • Signature: public function getChildNames($swiss)

Parameters:

  • $swiss

getChildStorage()

  • Signature: public function getChildStorage($swiss,$child,$create)

Parameters:

  • $swiss
  • $child
    • Default Value: null
  • $create
    • Default Value: false

getChildType()

  • Signature: public function getChildType($swiss,$child)

Parameters:

  • $swiss
  • $child

getConfigNode()

  • Signature: public function getConfigNode($swiss)

Parameters:

  • $swiss

getDescription()

  • Signature: public function getDescription($swiss)

Parameters:

  • $swiss

getDisplayName()

  • Signature: public function getDisplayName($swiss)

Parameters:

  • $swiss

getRootStorage()

  • Signature: protected function getRootStorage()

getRootType()

  • Signature: protected function getRootType()

getStatus()

  • Signature: public function getStatus($swiss)

Parameters:

  • $swiss

getTranslatedContentAtPath()

  • Signature: protected function getTranslatedContentAtPath($tag,$path)

Parameters:

  • $tag
  • $path

getURLRoot()

  • Signature: public function getURLRoot($action)

Parameters:

  • $action
    • Default Value: null

hasAttribute()

  • Signature: public function hasAttribute($swiss,$attr)

Parameters:

  • $swiss
  • $attr

key()

  • Signature: public function key($swiss)

Parameters:

  • $swiss

next()

  • Signature: public function next($swiss)

Parameters:

  • $swiss

rewind()

  • Signature: public function rewind($swiss)

Parameters:

  • $swiss

setupNode()

  • Signature: protected function setupNode($path)

Parameters:

  • $path

valid()

  • Signature: public function valid($swiss)

Parameters:

  • $swiss

Inherited Variables

$page

Theis protected variable is inherited from I2CE_SwissFactory->$page

$swiss

Theis protected variable is inherited from I2CE_SwissFactory->$swiss

$stored_options

Theis protected variable is inherited from I2CE_SwissFactory->$stored_options

$template

Theis protected variable is inherited from I2CE_SwissFactory->$template

$style

Theis protected variable is inherited from I2CE_SwissFactory->$style