Class: I2CE SwissFactory: Difference between revisions

From IHRIS Wiki
No edit summary
(Redirected page to Class: I2CE SwissFactory (4.0.3))
Line 1: Line 1:
This article describes the ''abstract'' class ''I2CE_SwissFactory''.
#REDIRECT [[Class: I2CE_SwissFactory (4.0.3)]]
*Child Classes:
** [[Class: I2CE_SwissConfigFactory | I2CE_SwissConfigFactory]]
** [[Class: I2CE_SwissMagicFactory | I2CE_SwissMagicFactory]]
*Location: Part of the module [[I2CE 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.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L29 modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 29
*Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_SwissFactory
==Variables==
===$page===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L33 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 33
*Type: protected $page
 
===$swiss===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L37 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 37
*Type: protected $swiss
 
===$stored_options===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L40 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 40
*Type: protected $stored_options
 
===$template===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L41 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 41
*Type: protected $template
 
===$style===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L403 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 403
*Type: protected $style
 
==Methods==
===__construct()===
construct a swiss swiss factory and create it if it doesn't exist. @throws Exception
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L46 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 46
*Signature: public function __construct($page,$init_options)
*Parameters:
**$page
**$init_options
***Default Value: array()
===count()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L531 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 531
*Signature: abstract public function count($swiss)
*Parameters:
**$swiss
===current()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L509 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 509
*Signature: public function current($swiss)
*Parameters:
**$swiss
===displayValues()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L405 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 405
*Signature: public function displayValues($contentNode,$path,$action,$transient_options)
*Parameters:
**$contentNode
**$path
**$action
**$transient_options
***Default Value: array()
===getAttribute()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L228 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 228
*Signature: public function getAttribute($swiss,$attr)
*Parameters:
**$swiss
**$attr
===getChildNames()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L499 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 499
*Signature: abstract public function getChildNames($swiss)
*Parameters:
**$swiss
===getChildStorage()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L239 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 239
*Signature: abstract public function getChildStorage($swiss,$child,$create)
*Parameters:
**$swiss
**$child
***Default Value: null
**$create
***Default Value: false
===getChildType()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L240 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 240
*Signature: abstract public function getChildType($swiss,$child)
*Parameters:
**$swiss
**$child
===getDescription()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L241 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 241
*Signature: public function getDescription($swiss)
*Parameters:
**$swiss
===getDisplayName()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L244 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 244
*Signature: public function getDisplayName($swiss)
*Parameters:
**$swiss
===getPage()===
Get the page
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L91 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 91
*Signature: public function getPage()
*Returns: [[Class: I2CE_Page | I2CE_Page]]
===getPath()===
Gets the string representation of a path
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L103 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 103
*Signature: static public function getPath($path,$addComponents)
*Parameters:
** [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $path <br/>Either a string or an arrray of path components
** [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $addComponents <br/>Defaults to null.  If a string or an array of path components  then it is appended to the path
***Default Value: null
*Returns: [http://www.php.net/manual/en/language.types.string.php string ]
===getPathComponents()===
Gets the array representation of the config node path
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L122 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 122
*Signature: static public function getPathComponents($path,$addComponents)
*Parameters:
** [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $path <br/>Either a string or an arrray of path components
** [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $addComponents <br/>Defaults to null.  If a string or an array of path components  then it is appended to the path
***Default Value: null
*Returns: [http://www.php.net/manual/en/language.types.array.php array ]
===getRootStorage()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L85 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 85
*Signature: abstract protected function getRootStorage()
===getRootType()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L81 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 81
*Signature: protected function getRootType()
===getStatus()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L261 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 261
*Signature: abstract public function getStatus($swiss)
*Parameters:
**$swiss
===getStorage()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L174 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 174
*Signature: public function getStorage($path,$add_path)
*Parameters:
**$path
**$add_path
***Default Value: null
===getStoredOptions()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L203 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 203
*Signature: public function getStoredOptions($key)
*Parameters:
**$key
***Default Value: null
===getSwiss()===
get the swiss for a path @param mixed $addPath Either a string which is a config node path or an array of additional path components.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L190 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 190
*Signature: public function getSwiss($path,$add_path)
*Parameters:
** [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $path <br/>Either a string which is a config node path or an array of path components.
**$add_path
***Default Value: null
*Returns: [[Class: I2CE_Swiss | I2CE_Swiss]]<br/>or null
===getURLQueryString()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L270 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 270
*Signature: public function getURLQueryString($additional,$remove)
*Parameters:
**$additional
***Default Value: array()
**$remove
***Default Value: array()
===getURLRoot()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L113 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 113
*Signature: abstract public function getURLRoot($action)
*Parameters:
**$action
***Default Value: null
===hasAttribute()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L233 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 233
*Signature: public function hasAttribute($swiss,$attr)
*Parameters:
**$swiss
**$attr
===humanText()===
Tries to turn a string (such as a magic data key) into  human text @param $text
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L253 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 253
*Signature: static public function humanText($text)
*Parameters:
**$text
*Returns: [http://www.php.net/manual/en/language.types.string.php string ]
===key()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L517 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 517
*Signature: abstract public function key($swiss)
*Parameters:
**$swiss
===next()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L519 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 519
*Signature: abstract public function next($swiss)
*Parameters:
**$swiss
===rewind()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L521 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 521
*Signature: abstract public function rewind($swiss)
*Parameters:
**$swiss
===setRedirect()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L265 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 265
*Signature: public function setRedirect($redirect)
*Parameters:
**$redirect
===setRootSwiss()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L67 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 67
*Signature: public function setRootSwiss()
===setStoredOptions()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L223 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 223
*Signature: public function setStoredOptions($options)
*Parameters:
**$options
===setupDisplay()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L459 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 459
*Signature: protected function setupDisplay($swiss,$action,$contentNode)
*Parameters:
**$swiss
**$action
**$contentNode
===updateValues()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L321 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 321
*Signature: public function updateValues($vals,$do_redirect,$transact)
*Parameters:
**$vals
**$do_redirect
***Default Value: true
**$transact
***Default Value: false
===valid()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/SwissFactory/lib/I2CE_SwissFactory.php#L523 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php] on line 523
*Signature: abstract public function valid($swiss)
*Parameters:
**$swiss
 
 
[[Category:Class Documentation]]

Revision as of 15:18, 10 March 2010