Class: I2CE Swiss SQLFunction: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
This article desrcibes the class '''I2CE_Swiss_SQLFunction''' which extends the class [[Class: I2CE_Swiss | I2CE_Swiss]]
This article desrcibes the class '''I2CE_Swiss_SQLFunction'''.
*Extends the class: [[Class: I2CE_Swiss | I2CE_Swiss]].
It is contained in the module [[iHRIS Module List#formRelationships|formRelationships]] in the package [https://launchpad.net/i2ce I2CE]
It is contained in the module [[iHRIS Module List#formRelationships|formRelationships]] in the package [https://launchpad.net/i2ce I2CE]


Line 13: Line 14:
*Signature: public function displayValues($contentNode,$transient_options,$action)
*Signature: public function displayValues($contentNode,$transient_options,$action)
Parameters:
Parameters:
* [http://www.php.net/manual/en/class.domnode.php domnode] $contentNode<br/>Defaults to null.  If set the swissconfig should display all content relative to that node
* [http://www.php.net/manual/en/class.domnode.php DOMNode ] $contentNode<br/>Defaults to null.  If set the swissconfig should display all content relative to that node
*$transient_options  
*$transient_options  
*$action  
*$action  
Line 26: Line 27:
*Returns: true on sucess
*Returns: true on sucess
Parameters:
Parameters:
* [http://www.php.net/manual/en/language.types.array.php array] $vals<br/>An array of values (presumably from $_POST) to update magic data from
* [http://www.php.net/manual/en/language.types.array.php array ] $vals<br/>An array of values (presumably from $_POST) to update magic data from
==Inherited Variables==
==Inherited Variables==
===$name===
===$name===

Revision as of 21:25, 16 October 2009

This article desrcibes the class I2CE_Swiss_SQLFunction.

It is contained in the module formRelationships in the package I2CE

The class is defined in the file: modules/Forms/modules/FormRelationship/lib/I2CE_Swiss_SQLFunction.php

I2CE_SwissConfig_FormRelationship_ReportingFunction @subpackage Core

  • Author: Carl Leitner <litlfred@ibiblio.org>

Methods

displayValues()

Display method Displays menu

  • Signature: public function displayValues($contentNode,$transient_options,$action)

Parameters:

  • DOMNode $contentNode
    Defaults to null. If set the swissconfig should display all content relative to that node
  • $transient_options
  • $action

getFieldObj()

Get the field object associated to this node.

  • Signature: public function getFieldObj()

getFunctionDetails()

  • Signature: public function getFunctionDetails()

processValues()

Update config for given values

  • Signature: public function processValues($vals)
  • Returns: true on sucess

Parameters:

  • array $vals
    An array of values (presumably from $_POST) to update magic data from

Inherited Variables

$name

Theis protected variable is inherited from I2CE_Swiss->$name

$path

Theis protected variable is inherited from I2CE_Swiss->$path

$parent

Theis protected variable is inherited from I2CE_Swiss->$parent

$page

Theis protected variable is inherited from I2CE_Swiss->$page

$template

Theis protected variable is inherited from I2CE_Swiss->$template

$children

Theis protected variable is inherited from I2CE_Swiss->$children

Inherited Fuzzy Methods

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()