Methods
All methods in the Solar_Form_Load_Model class.
Public
-
__construct() -
Constructor.
-
__destruct() -
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
dump() -
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
-
fetch() -
Loads Solar_Form elements based on Solar_Sql_Model columns.
-
locale() -
Looks up class-specific locale strings based on a key.
Protected
-
_autoOptions() -
Builds an option list from validateInKeys and validateInList values.
-
_buildConfig() -
Builds and returns the default config for a class, including all configs inherited from its parents.
-
_exception() -
Convenience method for returning exceptions with localized text.
-
_fixElement() -
Fixes each part of the element in-place.
-
_fixElementAttribs() -
Fixes the element attribs in-place.
-
_fixElementDescr() -
Fixes the element description in-place.
-
_fixElementDisable() -
Fixes the element disable-flag in-place.
-
_fixElementFilters() -
Fixes the element filters in-place.
-
_fixElementInvalid() -
Fixes the element invalid-messages in-place.
-
_fixElementLabel() -
Fixes the element label in-place.
-
_fixElementName() -
Fixes the element name in-place.
-
_fixElementOptions() -
Fixes the element options in-place.
-
_fixElementRequire() -
Fixes the element require-flag in-place.
-
_fixElementType() -
Fixes the element type in-place.
-
_fixElementValue() -
Fixes the element value in-place.
-
_getCol() -
Gets a column definition from the model; if the column does not exist at the model, gets a "fake" column definition instead.
-
_getDefault() -
Gets the default value for a column, or null if the columns does not exist at the model.
-
_getFakeCol() -
Gets a "fake" column definition.
-
_getFilters() -
Gets the filters for a column.
-
_newElement() -
Returns a new (baseline) form element array.
-
_postConfig() -
A hook that activates after _buildConfig() in the constructor.
-
_postConstruct() -
A hook that activates at the end of the constructor.
-
_preConfig() -
A hook that activates before _buildConfig() in the constructor.
-
_setArrayName() -
Sets the array-name for form elements.
-
_setCols() -
Sets the column definitions from the model.
-
_setDefault() -
Sets the default values for elements, using the model.
-
_setFilters() -
Sets the filters from the model.
-
_setLoad() -
Sets the list of column names and element options to load as elements.
-
_setModel() -
Sets the model to use for loading.
Private
None.