Ubiquity  2.0.3
php rapid development framework
CRUDFiles.php
Go to the documentation of this file.
1 <?php
2 
4 
5 class CRUDFiles {
6  protected $viewBase;
7 
8  public function __construct(){
9  $this->viewBase="@framework/crud";
10  }
11 
12  public function getViewIndex() {
13  return $this->viewBase."/index.html";
14  }
15 
16  public function getViewForm() {
17  return $this->viewBase."/form.html";
18  }
19 
20  public function getViewDisplay() {
21  return $this->viewBase."/display.html";
22  }
23 
28  public function getViewBaseTemplate() {
29  return $this->viewBase."/baseTemplate.html";
30  }
31 
36  public function getBaseTemplate(){
37  return;
38  }
39 }
40 
getBaseTemplate()
To override Returns the base template filename, default : null.
Definition: CRUDFiles.php:36
getViewBaseTemplate()
Returns the base template for all Auth actions if getBaseTemplate return a base template filename...
Definition: CRUDFiles.php:28