displayField()
displayField( $f)
Returns the HTML code for displaying the field, initialized with the data supplied in $fieldData
Creates a select box populated with records from other tables. Records can be edited, deleted, copied, pasted in the same field or an other field displaying the same type of records. Records can be created too. All these features can be enabled / disabled by configurable options. VERY IMPORTANT : the added record (a dbRecord extended class) MUST feature a column/field named parent_uid of type int(11), which is required for the copy paste operations. This column will/must contain the uid of the parent record where the current field is displayed as an option in a select field.
Parameters
$f | fieldData : this stdClass object contains all the field info. Defining the function arguments into an object avoids redefining all existing functions already issued when a new argument requires to be added to the calls. $f->formID // value of the id attribute of the |