Class jFormsDaoDatasource

Description

Implements interfaces:

A datasource which is based on a dao

Located in /forms/jFormsDatasource.class.php (line 76)


	
			
Variable Summary
mixed $criteria
mixed $dao
mixed $keyProperty
mixed $method
mixed $profile
mixed $selector
Method Summary
jFormsDaoDatasource __construct ( $selector,  $method,  $label,  $key, [ $profile = ''], [ $criteria = null], [ $criteriaFrom = null], [ $labelSeparator = ''])
void getData ( $form)
void getLabel ( $key)
Variables
mixed $criteria = null (line 85)
  • access: protected
mixed $criteriaFrom = null (line 86)
  • access: protected
mixed $dao = null (line 88)
  • access: protected
mixed $keyProperty (line 82)
  • access: protected
mixed $labelProperty = array() (line 80)
  • access: protected
mixed $labelSeparator (line 81)
  • access: protected
mixed $method (line 79)
  • access: protected
mixed $profile (line 83)
  • access: protected
mixed $selector (line 78)
  • access: protected
Methods
Constructor __construct (line 90)
jFormsDaoDatasource __construct ( $selector,  $method,  $label,  $key, [ $profile = ''], [ $criteria = null], [ $criteriaFrom = null], [ $labelSeparator = ''])
  • $selector
  • $method
  • $label
  • $key
  • $profile
  • $criteria
  • $criteriaFrom
  • $labelSeparator
getData (line 109)
  • access: public
void getData ( $form)
  • $form

Implementation of:
jIFormsDatasource::getData()
load and returns data to fill a control. The returned array should be
getLabel (line 137)
  • access: public
void getLabel ( $key)
  • $key

Implementation of:
jIFormsDatasource::getLabel()
Return the label corresponding to the given key

Documentation generated on Thu, 22 Mar 2012 22:16:07 +0100 by phpDocumentor 1.4.3