Ubiquity
2.0.3
php rapid development framework
|
The base class for displaying datas in CRUD controllers. More...
Public Member Functions | |
getTableNames () | |
Returns the table names to display in the left admin menu. More... | |
getFieldNames ($model) | |
Returns the fields to display in the showModel action for $model (DataTable) More... | |
getFormFieldNames ($model) | |
Returns the fields to update in the edit an new action for $model. More... | |
getSearchFieldNames ($model) | |
Returns the fields to use in search queries. More... | |
getElementFieldNames ($model) | |
Returns the fields for displaying an instance of $model (DataElement) More... | |
getManyToManyDatas ($fkClass, $instance, $member) | |
Returns a list of $fkClass objects to select a value for $member. More... | |
getUpdateOneToManyInForm () | |
getUpdateManyToManyInForm () | |
getUpdateManyToOneInForm () | |
refreshPartialInstance () | |
Defines whether the refresh is partial or complete after an instance update. More... | |
The base class for displaying datas in CRUD controllers.
Definition at line 11 of file CRUDDatas.php.
getElementFieldNames | ( | $model | ) |
Returns the fields for displaying an instance of $model (DataElement)
string | $model |
Definition at line 48 of file CRUDDatas.php.
getFieldNames | ( | $model | ) |
Returns the fields to display in the showModel action for $model (DataTable)
string | $model |
Definition at line 24 of file CRUDDatas.php.
getFormFieldNames | ( | $model | ) |
Returns the fields to update in the edit an new action for $model.
string | $model |
Definition at line 32 of file CRUDDatas.php.
getManyToManyDatas | ( | $fkClass, | |
$instance, | |||
$member | |||
) |
Returns a list of $fkClass objects to select a value for $member.
string | $fkClass | |
object | $instance | |
string | $member |
Definition at line 59 of file CRUDDatas.php.
getSearchFieldNames | ( | $model | ) |
Returns the fields to use in search queries.
string | $model |
Definition at line 40 of file CRUDDatas.php.
getTableNames | ( | ) |
Returns the table names to display in the left admin menu.
Definition at line 16 of file CRUDDatas.php.
getUpdateManyToManyInForm | ( | ) |
Definition at line 73 of file CRUDDatas.php.
getUpdateManyToOneInForm | ( | ) |
Definition at line 80 of file CRUDDatas.php.
getUpdateOneToManyInForm | ( | ) |
Definition at line 66 of file CRUDDatas.php.
refreshPartialInstance | ( | ) |
Defines whether the refresh is partial or complete after an instance update.
Definition at line 88 of file CRUDDatas.php.