Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
UrlsTrait.php
Go to the documentation of this file.
1<?php
2
4
11class UrlsTrait {
12
19 public function getRouteRefresh() {
20 return "/refresh_";
21 }
22
29 public function getRouteDetails() {
30 return "/showDetail";
31 }
32
39 public function getRouteDelete() {
40 return "/delete";
41 }
42
49 public function getRouteEdit() {
50 return "/edit";
51 }
52
59 public function getRouteDisplay() {
60 return "/display";
61 }
62
69 public function getRouteRefreshTable() {
70 return "/refreshTable";
71 }
72
80 public function getDetailClickURL($model) {
81 return "";
82 }
83}
84
Contains all methods returning the urls for CRUDControllers.
Definition UrlsTrait.php:11
getRouteEdit()
To override Returns the route for editing an instance (default : /edit)
Definition UrlsTrait.php:49
getRouteDetails()
To override Returns the route for the detail route, when the user click on a dataTable row (default :...
Definition UrlsTrait.php:29
getRouteDisplay()
To override Returns the route for displaying an instance (default : /display)
Definition UrlsTrait.php:59
getDetailClickURL($model)
To override Returns the url associated with a foreign key instance in list.
Definition UrlsTrait.php:80
getRouteRefresh()
To override Returns the route for refreshing the index route (default : /refresh_)
Definition UrlsTrait.php:19
getRouteDelete()
To override Returns the route for deleting an instance (default : /delete)
Definition UrlsTrait.php:39
getRouteRefreshTable()
To override Returns the route for refreshing the dataTable (default : /refreshTable)
Definition UrlsTrait.php:69