Пример #1
0
 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();
 }
Пример #3
0
 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');
 }
Пример #4
0
 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]);
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct();
     $this->AbaAtiva = 29;
     $this->AbaAtivaMae = 0;
     $this->debug();
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct();
     $this->objPHPExcel = new PHPExcel();
     $this->workSheet = $this->objPHPExcel->getActiveSheet();
     $this->debug();
 }
Пример #7
0
 function __construct($app, $db, array $data = NULL)
 {
     parent::__construct($app, $db, $data);
     $this->showErrorPage = FALSE;
     $this->useTransactions = FALSE;
     $this->actions = ['search'];
 }
Пример #8
0
 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);
     }
 }
Пример #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();
 }
Пример #10
0
 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;
             }
         }
     }
 }
Пример #11
0
 public function __construct($di)
 {
     parent::__construct($di);
 }
Пример #12
0
 public function __construct()
 {
     parent::__construct(TRUE);
     $this->setAbaAtiva(8)->setAbaAtivaMae(1)->loadPlugin('filtros');
 }
Пример #13
0
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('Каталог оптики');
 }
Пример #14
0
 public function __construct()
 {
     parent::__construct(TRUE);
     $this->automSelectMenu();
 }
Пример #15
0
 public function __construct($di)
 {
     parent::__construct($di);
     $this->goSer = $this->getGoServer();
 }
Пример #16
0
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('Запчасти б/у');
 }
Пример #17
0
 public function __construct()
 {
     parent::__construct();
     $this->setData('abaAtiva', 24)->setData('subAbaAtiva', 1)->loadPlugin('filtros');
 }
Пример #18
0
 public function __construct()
 {
     parent::__construct();
     $this->setAbaAtiva(1);
     $this->contas = new Kernel_Models_NewsletterContas();
 }
Пример #19
0
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('О нас');
 }
Пример #20
0
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('Полезная информация');
 }
Пример #21
0
 public function __construct()
 {
     require_once APPLICATION_PATH . "/controllers/controller.image.class.php";
     parent::__construct();
 }
Пример #22
0
 function __construct($di)
 {
     parent::__construct($di);
     $this->logic = new TransLogic();
 }
Пример #23
0
 public function __construct()
 {
     parent::__construct();
 }
Пример #24
0
 public function __construct($di)
 {
     parent::__construct($di);
     $this->setTitle('Контакты');
 }
Пример #25
0
 /**
  * Class constructor
  *
  * @param string $readWriteMode "read", "write", or "admin"
  * @throws ControllerException
  */
 public function __construct($readWriteMode = 'write')
 {
     parent::__construct($readWriteMode);
 }
Пример #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();
     });
 }
Пример #27
0
 public function __construct()
 {
     parent::__construct(TRUE);
     $this->AbaAtiva = 28;
     $this->AbaAtivaMae = 3;
 }
Пример #28
0
 /**
  * Construtor.
  */
 public function __construct()
 {
     parent::__construct('responsive');
     $this->setShadowBox(true);
     $this->candidato = new Candidato();
 }
Пример #29
0
 public function __construct()
 {
     parent::__construct();
     $this->setAbaAtivaMae(1)->setAbaAtiva(8)->loadPlugin("filtros");
     $this->professores = new Kernel_Models_Professor();
 }
Пример #30
0
 public function __construct($tema = FALSE)
 {
     parent::__construct($tema);
     $this->debug();
 }