Class: I2CE Swiss (4.1.6)

From IHRIS Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


This article describes the abstract class I2CE_Swiss .

I2CE_Swiss

Variables

$name

$path

$parent

$page

$template

$children

Methods

__construct()

Constructor @param I2CE_MagicDataNode the storage for this swiss

  • Defined in i2ce/modules/SwissFactory/lib/I2CE_Swiss.php on line 61
  • Signature: public function __construct($storage,$factory,$name,$parent)
  • Parameters:
    • $storage
    • $factory
    • $name
      • Default Value: null
    • $parent
      • Default Value: null

_getChild()

Should not be called outside of getChild()

addAjaxLink()

  • Defined in i2ce/modules/SwissFactory/lib/I2CE_Swiss.php on line 417
  • Signature: public function addAjaxLink($link_name,$source_id,$target_id,$node,$action,$transient_options)
  • Parameters:
    • $link_name
    • $source_id
    • $target_id
    • $node
    • $action
    • $transient_options
      • Default Value: array()

addAjaxOptionMenu()

addLink()

  • Defined in i2ce/modules/SwissFactory/lib/I2CE_Swiss.php on line 413
  • Signature: public function addLink($source_id,$target_id,$node,$action,$transient_options)
  • Parameters:
    • $source_id
    • $target_id
    • $node
    • $action
    • $transient_options
      • Default Value: array()

addOptionMenu()

changeClassOnNodes()

count()

createIfNotExists()

Check to see if a magic data subnode $child should be created if it does not exist

current()

display()

displayOptions()

displayValues()

Display the configuration menu for the specified config node

getAjaxJSNodes()

getAttribute()

getChild()

getChildNames()

getChildType()

getDescription()

getDisplayName()

getFactory()

getField()

getKeys()

getLocale()

getName()

getPage()

getParent()

getPath()

getStatus()

getStorage()

Get the storage for this class @retursn I2CE_MaficDataNode

getURLQueryString()

getURLRoot()

hasAttribute()

hasField()

hasParent()

humanText()

Tries to turn a string (such as a magic data key) into human text @param $text

initializeDisplay()

key()

next()

postprocessDisplay()

prefixName()

processValues()

renameInputs()

  • Defined in i2ce/modules/SwissFactory/lib/I2CE_Swiss.php on line 348
  • Signature: public function renameInputs($names,$node,$name_prefix,$name_postfix,$also_id)
  • Parameters:
    • $names
    • $node
    • $name_prefix
      • Default Value:
    • $name_postfix
      • Default Value:
    • $also_id
      • Default Value: false

rewind()

setField()

setPage()

setTranslatableField()

updateValues()

Update values @param string $linkBase The base page link used to export the magic data to a magicdatatemplate for validation. Should be a page which which subclasses I2CE_Page_MagicDataExport. @param integer $pipe The pipe length used for the magic data export. Defaults to -1 @param boolean $transact. Defaults to true -- all the SQL statements of this save should be wrapped in a transaction if possible. On failure we rollback the transaction and clear the apc cache for the magic data

valid()

validateValues()

Inherited Methods

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Fuzzy Methods

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()