function __construct($app, $db, array $data = NULL)
 {
     parent::__construct($app, $db, $data);
     $this->showErrorPage = FALSE;
     $this->parser = new TagsParser();
     $this->actions = ['fetch', 'add', 'edit', 'delete', 'preview', 'html', 'text', 'rate', 'help'];
 }
 /**
  * 
  */
 public function __construct()
 {
     parent::__construct('responsive');
     //Definindo se deve ou não mostrar a barra superior e de menu
     $this->setShadowBox(true);
     $this->debug();
 }
 public function __construct($wpdb)
 {
     parent::__construct($wpdb);
     $db = new \Tabulate\DB\Database($this->wpdb);
     $this->table_names = $db->getTableNames();
     $this->template = new \Tabulate\Template('grants.html');
 }
 function __construct($app, $db, array $data = NULL)
 {
     parent::__construct($app, $db, $data);
     $this->showErrorPage = FALSE;
     $this->actions = ['fetch', 'upload', 'delete', 'descript'];
     $this->validateRights([USER_REGISTERED]);
 }
Beispiel #5
0
 public function __construct()
 {
     parent::__construct();
     $this->AbaAtiva = 29;
     $this->AbaAtivaMae = 0;
     $this->debug();
 }
Beispiel #6
0
 public function __construct()
 {
     parent::__construct();
     $this->objPHPExcel = new PHPExcel();
     $this->workSheet = $this->objPHPExcel->getActiveSheet();
     $this->debug();
 }
 function __construct($app, $db, array $data = NULL)
 {
     parent::__construct($app, $db, $data);
     $this->showErrorPage = FALSE;
     $this->useTransactions = FALSE;
     $this->actions = ['search'];
 }
 public function __construct()
 {
     parent::__construct('responsive');
     //Definindo se deve ou não mostrar a barra superior e de menu
     if (!filter_input(INPUT_GET, 'menu', FILTER_VALIDATE_BOOLEAN)) {
         $this->setShadowBox(true);
     }
 }
Beispiel #9
0
 public function __construct()
 {
     parent::__construct();
     //Variavel que informa se o usuário logado pode ou não editar
     $this->editavel = Permissoes::checar(Permissoes::EDITAR);
     //adiciona o plugin de auto seleção do menu lateral
     $this->automSelectMenu();
 }
 public function __construct($wpdb)
 {
     parent::__construct($wpdb);
     $db = new \WordPress\Tabulate\DB\Database($this->wpdb);
     $this->selected_tables = array();
     foreach ($db->get_tables() as $table) {
         $this->tables[] = $table;
         // If any tables are requested, only show them
         if (isset($_GET['tables']) && count($_GET['tables']) > 0) {
             if (isset($_GET['tables'][$table->get_name()])) {
                 $this->selected_tables[$table->get_name()] = $table;
             }
         } else {
             // Otherwise, default to all linked tables
             $referenced = count($table->get_referencing_tables()) > 0;
             $referencing = count($table->get_referenced_tables()) > 0;
             if ($referenced || $referencing) {
                 $this->selected_tables[$table->get_name()] = $table;
             }
         }
     }
 }
 public function __construct($di)
 {
     parent::__construct($di);
 }
Beispiel #12
0
 public function __construct()
 {
     parent::__construct(TRUE);
     $this->setAbaAtiva(8)->setAbaAtivaMae(1)->loadPlugin('filtros');
 }
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('Каталог оптики');
 }
Beispiel #14
0
 public function __construct()
 {
     parent::__construct(TRUE);
     $this->automSelectMenu();
 }
Beispiel #15
0
 public function __construct($di)
 {
     parent::__construct($di);
     $this->goSer = $this->getGoServer();
 }
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('Запчасти б/у');
 }
Beispiel #17
0
 public function __construct()
 {
     parent::__construct();
     $this->setData('abaAtiva', 24)->setData('subAbaAtiva', 1)->loadPlugin('filtros');
 }
Beispiel #18
0
 public function __construct()
 {
     parent::__construct();
     $this->setAbaAtiva(1);
     $this->contas = new Kernel_Models_NewsletterContas();
 }
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('О нас');
 }
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('Полезная информация');
 }
 public function __construct()
 {
     require_once APPLICATION_PATH . "/controllers/controller.image.class.php";
     parent::__construct();
 }
Beispiel #22
0
 function __construct($di)
 {
     parent::__construct($di);
     $this->logic = new TransLogic();
 }
Beispiel #23
0
 public function __construct()
 {
     parent::__construct();
 }
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('Контакты');
 }
Beispiel #25
0
 /**
  * Class constructor
  *
  * @param string $readWriteMode "read", "write", or "admin"
  * @throws ControllerException
  */
 public function __construct($readWriteMode = 'write')
 {
     parent::__construct($readWriteMode);
 }
Beispiel #26
0
 function __construct($userRepository, $languageRepository, $basketRepository)
 {
     parent::__construct("user");
     $this->userRepository = $userRepository;
     $this->languageRepository = $languageRepository;
     $this->basketRepository = $basketRepository;
     $this->registerAction("register", function () {
         $this->register(getJsonInput());
     });
     $this->registerAction("existsUser", function () {
         $this->existsUser(getStringFromUrl("email"));
     });
     $this->registerAction("login", function () {
         $this->login(getJsonInput());
     });
     $this->registerAction("logout", function () {
         $this->logout();
     });
     $this->registerAction("getCurrent", function () {
         $this->getCurrent();
     });
     $this->registerAction("getBasketSummaryEntries", function () {
         $this->getBasketSummaryEntries();
     });
     $this->registerAction("languages", function () {
         $this->languages();
     });
 }
Beispiel #27
0
 public function __construct()
 {
     parent::__construct(TRUE);
     $this->AbaAtiva = 28;
     $this->AbaAtivaMae = 3;
 }
Beispiel #28
0
 /**
  * Construtor.
  */
 public function __construct()
 {
     parent::__construct('responsive');
     $this->setShadowBox(true);
     $this->candidato = new Candidato();
 }
Beispiel #29
0
 public function __construct()
 {
     parent::__construct();
     $this->setAbaAtivaMae(1)->setAbaAtiva(8)->loadPlugin("filtros");
     $this->professores = new Kernel_Models_Professor();
 }
 public function __construct($tema = FALSE)
 {
     parent::__construct($tema);
     $this->debug();
 }