Class EntryField
Individual fields used for data entry / viewing.
This object is not really intended to be used directly. The more normal
interface is to instantiate an EntryForm
and then issue calls
to DataEntryLine() and other EntryForm
methods.
Understanding the operation of this class (and possibly auditing the source code, particularly EntryField::Render) will however convey valuable understanding of some of the more esoteric features.
Package: awl\DataEntry
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU GPL v2
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at DataEntry.php
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU GPL v2
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at DataEntry.php
public
|
#
EntryField( text $intype, text $inname, text $attributes = "", text $current_value = "" )
Initialise an EntryField, used for data entry. |
public
text
|
|
public
|
#
new_lookup( array $attributes )
Function called indirectly when a new EntryField of type 'lookup' is created. |
public static
string
|
#
BuildOptionList( string $qry, string $current = '', array $location = 'options', $parameters = false )
Build an option list from the query. |
public
string
|
$fname
The name of the field |
|
public
string
|
$ftype
The type of entry field |
|
public
string
|
$current
The current value |
|
public
string
|
$attributes
An array of key value pairs |
|
public
string
|
$rendered
Once it actually is... |