FrameworkOnFramework model behavior class
Located in /libraries/fof/model/field.php (line 18)
Class | Description |
---|---|
![]() |
FrameworkOnFramework model behavior class |
![]() |
FrameworkOnFramework model behavior class |
Creates a field Object based on the field column type
Get the classname based on the field Type
Constructor
Perform a between limits match (usually: search for a value between
two numbers or a date between two preset dates). When $include is true the condition tested is: $from <= VALUE <= $to When $include is false the condition tested is: $from < VALUE < $to
Perform an exact match (equality matching)
Returns the default search method for a field. This always returns 'exact' and you are supposed to override it in specialised classes. The possible values are exact, partial, between and outside, unless something different is returned by getSearchMethods().
Return the search methods available for this field class,
Perform an interval search (usually: a date interval check)
Is it a null or otherwise empty value?
Perform an outside limits match (usually: search for a value outside an
area or a date outside a preset period). When $include is true the condition tested is: (VALUE <= $from) || (VALUE >= $to) When $include is false the condition tested is: (VALUE < $from) || (VALUE > $to)
Perform a partial match (usually: search in string)
Return the SQL where clause for a search
Documentation generated on Tue, 19 Nov 2013 15:02:59 +0100 by phpDocumentor 1.4.3