Class: I2CE SwissMagicFactory: Difference between revisions

From IHRIS Wiki
(Created page with 'This article desrcibes the class '''I2CE_SwissMagicFactory'''which extends the class I2CE_SwissFactory It is contained in the module [[iHRIS Module…')
 
No edit summary
Line 86: Line 86:
*$swiss  
*$swiss  
==Inherited Variables==
==Inherited Variables==
===$$page===
===$page===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$$page | I2CE_SwissFactory->$$page]]
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$page | I2CE_SwissFactory->$page]]
===$$swiss===
===$swiss===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$$swiss | I2CE_SwissFactory->$$swiss]]
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$swiss | I2CE_SwissFactory->$swiss]]
===$$stored_options===
===$stored_options===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$$stored_options | I2CE_SwissFactory->$$stored_options]]
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$stored_options | I2CE_SwissFactory->$stored_options]]
===$$template===
===$template===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$$template | I2CE_SwissFactory->$$template]]
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$template | I2CE_SwissFactory->$template]]
===$$style===
===$style===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$$style | I2CE_SwissFactory->$$style]]
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$style | I2CE_SwissFactory->$style]]




[[Category:Class Documentation]]
[[Category:Class Documentation]]

Revision as of 16:18, 16 October 2009

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

Variables

$status

  • Type: protected $status

$root_path

  • Type: protected $root_path

$root_type

  • Type: protected $root_type

$root_path_create

  • Type: protected $root_path_create

$root_url_postfix

  • Type: protected $root_url_postfix

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 $type. The type of the root swiwss. Defaults to 'Swiss' @throws Exception

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

Parameters:

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

count()

  • Signature: public function count($swiss)

Parameters:

  • $swiss

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

getRootStorage()

  • Signature: protected function getRootStorage()

getRootType()

  • Signature: protected function getRootType()

getStatus()

  • Signature: public function getStatus($swiss)

Parameters:

  • $swiss

getURLRoot()

  • Signature: public function getURLRoot($action)

Parameters:

  • $action
    • Default Value: null

key()

  • Signature: public function key($swiss)

Parameters:

  • $swiss

next()

  • Signature: public function next($swiss)

Parameters:

  • $swiss

rewind()

  • Signature: public function rewind($swiss)

Parameters:

  • $swiss

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