Class: I2CE SwissMagicFactory: Difference between revisions

From IHRIS Wiki
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article desrcibes the class '''I2CE_SwissMagicFactory''' which extends the class [[Class: I2CE_SwissFactory | I2CE_SwissFactory]]
#REDIRECT [[Class: I2CE_SwissMagicFactory (4.1.7)]]
It is contained in the module [[iHRIS Module List#swissfactory|swissfactory]] in the package [https://launchpad.net/i2ce I2CE]
 
The class is 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]
 
I2CE_SwissMDNFactory
@subpackage Core
*Author: Carl Leitner <litlfred@ibiblio.org>
==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 [[Class: I2CE_SwissFactory#$page | I2CE_SwissFactory->$page]]
 
===$swiss===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$swiss | I2CE_SwissFactory->$swiss]]
 
===$stored_options===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$stored_options | I2CE_SwissFactory->$stored_options]]
 
===$template===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$template | I2CE_SwissFactory->$template]]
 
===$style===
Theis protected variable is inherited from [[Class: I2CE_SwissFactory#$style | I2CE_SwissFactory->$style]]
 
 
[[Category:Class Documentation]]

Latest revision as of 09:49, 23 August 2013