Class: I2CE Swiss FormRelationship Where: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article desrcibes the class '''I2CE_Swiss_FormRelationship_Where''' | This article desrcibes the class '''I2CE_Swiss_FormRelationship_Where'''. | ||
*Extends the class: [[Class: I2CE_Swiss_FormRelationship_Base | I2CE_Swiss_FormRelationship_Base]]. | |||
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 21: | Line 22: | ||
Add in the UI to display the Where menu | Add in the UI to display the Where menu | ||
*Signature: protected function displayLimitMenu($contentNode,$action) | *Signature: protected function displayLimitMenu($contentNode,$action) | ||
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean] true on success | *Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] true on success | ||
Parameters: | Parameters: | ||
* [http://www.php.net/manual/en/class.domnode.php | * [http://www.php.net/manual/en/class.domnode.php DOMNode ] $contentNode | ||
*$action | *$action | ||
===displayOperator()=== | ===displayOperator()=== | ||
Line 41: | Line 42: | ||
@param DOMNode $contentode | @param DOMNode $contentode | ||
*Signature: protected function displayWhereChoice($contentNode,$action) | *Signature: protected function displayWhereChoice($contentNode,$action) | ||
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean] true on success | *Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] true on success | ||
Parameters: | Parameters: | ||
*$contentNode | *$contentNode |
Revision as of 22:25, 16 October 2009
This article desrcibes the class I2CE_Swiss_FormRelationship_Where.
- Extends the class: I2CE_Swiss_FormRelationship_Base.
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_FormRelationship_Where.php
I2CE_SwissConfig_FormRelationship_Where @subpackage Core
- Author: Carl Leitner <litlfred@ibiblio.org>
Methods
displayExistingLimit()
- Signature: protected function displayExistingLimit($contentNode,$action)
Parameters:
- $contentNode
- $action
displayFieldLimit()
- Signature: protected function displayFieldLimit($contentNode,$action)
Parameters:
- $contentNode
- $action
displayLimitMenu()
Add in the UI to display the Where menu
- Signature: protected function displayLimitMenu($contentNode,$action)
- Returns: boolean true on success
Parameters:
- DOMNode $contentNode
- $action
displayOperator()
- Signature: protected function displayOperator($contentNode,$transient_options,$action)
Parameters:
- $contentNode
- $transient_options
- $action
displayValues()
- Signature: public function displayValues($contentNode,$transient_options,$action)
Parameters:
- $contentNode
- $transient_options
- $action
displayWhereChoice()
Add in the display for the existing Wheres @param DOMNode $contentode
- Signature: protected function displayWhereChoice($contentNode,$action)
- Returns: boolean true on success
Parameters:
- $contentNode
- $action
getChildType()
- Signature: public function getChildType($child)
Parameters:
- $child
getForm()
- Signature: protected function getForm()
getJoinField()
- Signature: protected function getJoinField()
getReportForm()
- Signature: protected function getReportForm()
isRelationshipBase()
- Signature: protected function isRelationshipBase()
processFieldLimit()
- Signature: protected function processFieldLimit($vals)
Parameters:
- $vals
processValues()
- Signature: public function processValues($vals)
Parameters:
- $vals
processWhereChoice()
- Signature: protected function processWhereChoice($vals)
Parameters:
- $vals
Inherited Variables
$swissRelationship
Theis protected variable is inherited from I2CE_Swiss_FormRelationship_Base->$swissRelationship
$swissForms
Theis protected variable is inherited from I2CE_Swiss_FormRelationship_Base->$swissForms
$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()