Ubiquity 2.5.2
php rapid development framework
|
Public Member Functions | |
__construct (string $viewBase=' @framework/crud') | |
To override for defining viewBase (default : @framework/crud) | |
getViewIndex () | |
To override Returns the template for the index route (default : @framework/crud/index.html) | |
getViewHome () | |
To override with MultiResourceCRUDController only Returns the template for the home route (default : @framework/crud/home.html) | |
getViewItemHome () | |
To override with MultiResourceCRUDController only Returns the template for an item in home route (default : @framework/crud/itemHome.html) | |
getViewNav () | |
To override with MultiResourceCRUDController only Returns the template for displaying models in a dropdown (default : @framework/crud/itemHome.html) | |
getViewForm () | |
To override Returns the template for the edit and new instance routes (default : @framework/crud/form.html) | |
getViewDisplay () | |
To override Returns the template for the display route (default : @framework/crud/display.html) | |
getViewBaseTemplate () | |
Returns the base template for all Crud actions if getBaseTemplate return a base template filename. | |
getBaseTemplate () | |
To override Returns the base template filename, default : null. | |
Public Member Functions inherited from UrlsTrait | |
getRouteRefresh () | |
To override Returns the route for refreshing the index route (default : /refresh_) | |
getRouteDetails () | |
To override Returns the route for the detail route, when the user click on a dataTable row (default : /showDetail) | |
getRouteDelete () | |
To override Returns the route for deleting an instance (default : /delete) | |
getRouteEdit () | |
To override Returns the route for editing an instance (default : /edit) | |
getRouteDisplay () | |
To override Returns the route for displaying an instance (default : /display) | |
getRouteRefreshTable () | |
To override Returns the route for refreshing the dataTable (default : /refreshTable) | |
getDetailClickURL ($model) | |
To override Returns the url associated with a foreign key instance in list. | |
Protected Attributes | |
$viewBase | |
Definition at line 12 of file CRUDFiles.php.
__construct | ( | string | $viewBase = '@framework/crud' | ) |
To override for defining viewBase (default : @framework/crud)
Definition at line 18 of file CRUDFiles.php.
getBaseTemplate | ( | ) |
To override Returns the base template filename, default : null.
Definition at line 96 of file CRUDFiles.php.
getViewBaseTemplate | ( | ) |
Returns the base template for all Crud actions if getBaseTemplate return a base template filename.
Definition at line 87 of file CRUDFiles.php.
getViewDisplay | ( | ) |
To override Returns the template for the display route (default : @framework/crud/display.html)
Definition at line 78 of file CRUDFiles.php.
getViewForm | ( | ) |
To override Returns the template for the edit and new instance routes (default : @framework/crud/form.html)
Definition at line 68 of file CRUDFiles.php.
getViewHome | ( | ) |
To override with MultiResourceCRUDController only Returns the template for the home route (default : @framework/crud/home.html)
Definition at line 38 of file CRUDFiles.php.
getViewIndex | ( | ) |
To override Returns the template for the index route (default : @framework/crud/index.html)
Definition at line 28 of file CRUDFiles.php.
getViewItemHome | ( | ) |
To override with MultiResourceCRUDController only Returns the template for an item in home route (default : @framework/crud/itemHome.html)
Definition at line 48 of file CRUDFiles.php.
getViewNav | ( | ) |
To override with MultiResourceCRUDController only Returns the template for displaying models in a dropdown (default : @framework/crud/itemHome.html)
Definition at line 58 of file CRUDFiles.php.
|
protected |
Definition at line 13 of file CRUDFiles.php.