Class: I2CE SwissFactory (4.1.4)
From IHRIS Wiki
For other versions, see Class: I2CE_SwissFactory (versions) .
This article describes the abstract class I2CE_SwissFactory .
- Child Classes:
- Location: Part of the module swissfactory in the package I2CE 4.1.4-release
- Source: Defined in the file modules/SwissFactory/lib/I2CE_SwissFactory.php on line 29
- Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_SwissFactory
Variables
$page
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 33
- Type: protected $page
$swiss
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 37
- Type: protected $swiss
$stored_options
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 40
- Type: protected $stored_options
$template
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 41
- Type: protected $template
$style
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 407
- Type: protected $style
Methods
__construct()
construct a swiss swiss factory and create it if it doesn't exist. @throws Exception
- Defined in 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 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 535
- Signature: abstract public function count($swiss)
- Parameters:
- $swiss
current()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 513
- Signature: public function current($swiss)
- Parameters:
- $swiss
displayValues()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 409
- Signature: public function displayValues($contentNode,$path,$action,$transient_options)
- Parameters:
- $contentNode
- $path
- $action
- $transient_options
- Default Value: array()
getAttribute()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 228
- Signature: public function getAttribute($swiss,$attr)
- Parameters:
- $swiss
- $attr
getChildNames()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 503
- Signature: abstract public function getChildNames($swiss)
- Parameters:
- $swiss
getChildStorage()
- Defined in 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 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 240
- Signature: abstract public function getChildType($swiss,$child)
- Parameters:
- $swiss
- $child
getDescription()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 241
- Signature: public function getDescription($swiss)
- Parameters:
- $swiss
getDisplayName()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 244
- Signature: public function getDisplayName($swiss)
- Parameters:
- $swiss
getPage()
Get the page
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 91
- Signature: public function getPage()
- Returns: I2CE_Page
getPath()
Gets the string representation of a path
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 103
- Signature: static public function getPath($path,$addComponents)
- Parameters:
- Returns: string
getPathComponents()
Gets the array representation of the config node path
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 122
- Signature: static public function getPathComponents($path,$addComponents)
- Parameters:
- Returns: array
getRootStorage()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 85
- Signature: abstract protected function getRootStorage()
getRootType()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 81
- Signature: protected function getRootType()
getStatus()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 261
- Signature: abstract public function getStatus($swiss)
- Parameters:
- $swiss
getStorage()
- Defined in 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 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 203
- Signature: public function getStoredOptions($key)
- Parameters:
- $key
- Default Value: null
- $key
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 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 190
- Signature: public function getSwiss($path,$add_path)
- Parameters:
- mixed $path
Either a string which is a config node path or an array of path components. - $add_path
- Default Value: null
- mixed $path
- Returns: I2CE_Swiss
or null
getURLQueryString()
- Defined in 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()
- $additional
getURLRoot()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 113
- Signature: abstract public function getURLRoot($action)
- Parameters:
- $action
- Default Value: null
- $action
hasAttribute()
- Defined in 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 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 253
- Signature: static public function humanText($text)
- Parameters:
- $text
- Returns: string
key()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 521
- Signature: abstract public function key($swiss)
- Parameters:
- $swiss
next()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 523
- Signature: abstract public function next($swiss)
- Parameters:
- $swiss
rewind()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 525
- Signature: abstract public function rewind($swiss)
- Parameters:
- $swiss
setRedirect()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 265
- Signature: public function setRedirect($redirect)
- Parameters:
- $redirect
setRootSwiss()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 67
- Signature: public function setRootSwiss()
setStoredOptions()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 223
- Signature: public function setStoredOptions($options)
- Parameters:
- $options
setupDisplay()
- Defined in i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 463
- Signature: protected function setupDisplay($swiss,$action,$contentNode)
- Parameters:
- $swiss
- $action
- $contentNode
updateValues()
- Defined in 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 i2ce/modules/SwissFactory/lib/I2CE_SwissFactory.php on line 527
- Signature: abstract public function valid($swiss)
- Parameters:
- $swiss