Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
UrlsTrait Class Reference

Contains all methods returning the urls for CRUDControllers. More...

+ Inheritance diagram for UrlsTrait:

Public Member Functions

 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.
 

Detailed Description

Contains all methods returning the urls for CRUDControllers.

Author
jc

Definition at line 11 of file UrlsTrait.php.

Member Function Documentation

◆ getDetailClickURL()

getDetailClickURL (   $model)

To override Returns the url associated with a foreign key instance in list.

Parameters
string$model
Returns
string

Definition at line 80 of file UrlsTrait.php.

◆ getRouteDelete()

getRouteDelete ( )

To override Returns the route for deleting an instance (default : /delete)

Returns
string

Definition at line 39 of file UrlsTrait.php.

◆ getRouteDetails()

getRouteDetails ( )

To override Returns the route for the detail route, when the user click on a dataTable row (default : /showDetail)

Returns
string

Definition at line 29 of file UrlsTrait.php.

◆ getRouteDisplay()

getRouteDisplay ( )

To override Returns the route for displaying an instance (default : /display)

Returns
string

Definition at line 59 of file UrlsTrait.php.

◆ getRouteEdit()

getRouteEdit ( )

To override Returns the route for editing an instance (default : /edit)

Returns
string

Definition at line 49 of file UrlsTrait.php.

◆ getRouteRefresh()

getRouteRefresh ( )

To override Returns the route for refreshing the index route (default : /refresh_)

Returns
string

Definition at line 19 of file UrlsTrait.php.

◆ getRouteRefreshTable()

getRouteRefreshTable ( )

To override Returns the route for refreshing the dataTable (default : /refreshTable)

Returns
string

Definition at line 69 of file UrlsTrait.php.


The documentation for this class was generated from the following file: