Jeff PHP framework
0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
|
00001 <?php 00040 class datetimeSettingsController extends controller { 00041 00045 private $_class_privilege; 00046 00050 private $_admin_privilege; 00051 00057 function __construct() { 00058 00059 parent::__construct(); 00060 00061 $this->_cpath = dirname(__FILE__); 00062 $this->_mdl_name = "datetimeSettings"; 00063 00064 // privileges 00065 $this->_class_privilege = $this->_mdl_name; 00066 $this->_admin_privilege = 1; 00067 00068 } 00069 00076 public function manage() { 00077 00078 access::check($this->_class_privilege, $this->_admin_privilege, array("exitOnFailure"=>true)); 00079 00080 $at = new adminTable(TBL_SYS_DATETIME_SETTINGS, array('insertion'=>false, "deletion"=>false)); 00081 00082 $table = $at->manage(); 00083 00084 $this->_view->setTpl('manage_table'); 00085 $this->_view->assign('title', __("ManageTable")." ".TBL_SYS_DATETIME_SETTINGS); 00086 $this->_view->assign('table', $table); 00087 00088 return $this->_view->render(); 00089 } 00090 00091 } 00092 00093 ?>