Class: I2CE SwissMagicFactory: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article desrcibes the class | This article desrcibes the class ''I2CE_SwissMagicFactory''. | ||
*Extends the class: [[Class: I2CE_SwissFactory | I2CE_SwissFactory]]. | *Extends the class: [[Class: I2CE_SwissFactory | I2CE_SwissFactory]]. | ||
*Location: Part of the module [[iHRIS Module List#swissfactory|swissfactory]] in the package [https://launchpad.net/i2ce I2CE] | *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_SwissMagicFactory.php modules/SwissFactory/lib/I2CE_SwissMagicFactory.php] | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissMagicFactory.php modules/SwissFactory/lib/I2CE_SwissMagicFactory.php] | ||
*Author: Carl Leitner <litlfred@ibiblio.org> | *Author: Carl Leitner <litlfred@ibiblio.org> | ||
I2CE_SwissMDNFactory | I2CE_SwissMDNFactory |
Revision as of 23:15, 16 October 2009
This article desrcibes the class I2CE_SwissMagicFactory.
- Extends the class: I2CE_SwissFactory.
- Location: Part of the module swissfactory in the package I2CE
- Source: Defined in the file modules/SwissFactory/lib/I2CE_SwissMagicFactory.php
- Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_SwissMDNFactory
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