Interface jIFormsDatasource

Description

Interface for objects which provides a source of data to fill some controls in a form, like menulist, listbox etc...

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


	
			
Direct descendents
Class Description
jIFormsDatasource2 Interface for objects which provides a source of data to fill some controls in a form, like menulist, listbox etc...
Method Summary
array getData (jFormsBase $form)
string getLabel (string $key)
Methods
getData (line 26)

load and returns data to fill a control. The returned array should be

an associative array key => label

  • return: the data
  • access: public
array getData (jFormsBase $form)
getLabel (line 35)

Return the label corresponding to the given key

if the class implements also jIFormsDatasource2, you must not call getLabel but getLabel2

  • return: the label
  • access: public
string getLabel (string $key)
  • string $key: the key

Documentation generated on Thu, 19 Sep 2013 00:05:19 +0200 by phpDocumentor 1.4.3