Exemple #1
0
 public function __construct()
 {
     parent::__construct();
     $this->addPost('typeName,id,parent', 'delete');
     $this->addPost('typeName,id', 'delete');
     $this->addGet('type', 'show');
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->addGet('id', 'showEdit');
     $this->addPost('id,fieldName,action', 'ajaxEditColumn');
     $this->addPost('id,fieldName,action,data', 'ajaxEditColumn');
     $this->addPost('id', 'postEdit');
     $this->addGet('create', 'add');
 }
Exemple #3
0
 public function __construct()
 {
     // Трансформируем массив возвратных урлов
     //
     $aData = array();
     foreach ($this->aBackUrlParams as $row) {
         if (!isset($_REQUEST[$row])) {
             throw new Exception('В параметрах страницы не передан "' . $row . '"');
         }
         $aData[$row] = $_REQUEST[$row];
     }
     $this->aBackUrlParams = $aData;
     parent::__construct();
     $this->addGet('type,id', 'showEdit');
     $this->addGet('type,add', 'add');
     $this->addPost('typeName,id,submit', 'postEdit');
     $this->addPost('typeName,id,fieldName,action', 'ajaxEditColumn');
     $this->addPost('typeName,id,fieldName,action,data', 'ajaxEditColumn');
 }