Esempio n. 1
0
 public static function dataList()
 {
     $_GET['type'] = $_POST['type'] = extasyTestModel::ModelName;
     $page = new CMS_Page_DataList();
     $page->viewBeginPath = array('Тестирование сайта' => 'index.php');
     $page->addButtons(array('Назад к тестированию' => './index.php'));
     $page->addButtons(array('Быстрое добавление' => './quick_add'));
     $page->process();
 }
Esempio n. 2
0
 public function __construct()
 {
     $_GET['type'] = $_GET['typeName'] = $_POST['typeName'] = $this->modelName;
     $this->szTitle = static::title;
     $this->aBegin = array($this->szTitle => '#');
     parent::__construct();
 }