public function __construct($session_started = false) { parent::__construct($session_started); $this->setPageTitle('Log in'); $this->setViewTemplate('session.login.tpl'); $this->disableCaching(); }
/** * Constructor * * @param boolean $session_started */ public function __construct($session_started = false, $argc = null, $argv = null) { parent::__construct($session_started); $this->setViewTemplate('crawler.checkcrawler.tpl'); $this->disableCaching(); $this->profiler_enabled = false; $this->threshold = isset($argv[1]) ? floatval($argv[1]) : 3.0; }
public function __construct($session_started = false) { parent::__construct($session_started); $this->setViewTemplate('session.register.tpl'); $this->addHeaderJavaScript('assets/js/jqBootstrapValidation.js'); $this->addHeaderJavaScript('assets/js/validate-fields.js'); $this->setPageTitle('Register'); }
public function __construct($session_started = false) { parent::__construct($session_started); $request_uri = Utils::getApplicationRequestURI(); if (strpos($request_uri, 'logout.php') === false) { $this->url_mapping = Utils::getApplicationURL() . $request_uri; } }
/** * Constructor * @param bool $session_started * @return ActivateAccountController */ public function __construct($session_started=false) { parent::__construct($session_started); foreach ($this->REQUIRED_PARAMS as $param) { if (!isset($_GET[$param]) || $_GET[$param] == '' ) { $this->is_missing_param = true; } } }
/** * Constructor * @param bool $session_started * @return ThinkUpEmbedController */ public function __construct($session_started=false) { parent::__construct($session_started); foreach ($this->REQUIRED_PARAMS as $param) { if (!isset($_GET[$param]) || $_GET[$param] == '' ) { $this->addInfoMessage('No thread data to retrieve.'); $this->is_missing_param = true; } } }
/** * Constructor * @param bool $session_started * @return ThreadJSController */ public function __construct($session_started=false) { parent::__construct($session_started); foreach ($this->REQUIRED_PARAMS as $param) { if (!isset($_GET[$param]) || $_GET[$param] == '' ) { $this->is_missing_param = true; } } Utils::defineConstants(); $this->setViewTemplate(THINKUP_WEBAPP_PATH.'plugins/embedthread/view/v1.thread_js.tpl'); }
public function __construct($session_started = false) { parent::__construct($session_started); $this->setViewTemplate('session.register.tpl'); $this->setPageTitle('Register'); }
/** * Constructor * * @param boolean $session_started */ public function __construct($session_started = false) { parent::__construct($session_started); $this->setContentType('application/json'); $this->view_mgr->cache_lifetime = 60; /* * START READ IN OF QUERY STRING VARS */ if (isset($_GET['network'])) { $this->network = $_GET['network']; } if (isset($_GET['post_id'])) { if (is_numeric($_GET['post_id'])) { $this->post_id = $_GET['post_id']; } } if (isset($_GET['user_id'])) { if (is_numeric($_GET['user_id'])) { $this->user_id = $_GET['user_id']; } } if (isset($_GET['type'])) { $this->type = $_GET['type']; } if (isset($_GET['username'])) { $this->username = $_GET['username']; } if (isset($_GET['count'])) { if (is_numeric($_GET['count'])) { $this->count = (int) $_GET['count'] > 200 ? 200 : (int) $_GET['count']; } } if (isset($_GET['page'])) { if (is_numeric($_GET['page'])) { $this->page = (int) $_GET['page']; } } if (isset($_GET['order_by'])) { $this->order_by = $this->parseOrderBy($_GET['order_by']); } if (isset($_GET['direction'])) { $this->direction = $_GET['direction'] == 'DESC' ? 'DESC' : 'ASC'; } if (isset($_GET['from'])) { $this->from = $_GET['from']; } if (isset($_GET['until'])) { $this->until = $_GET['until']; } if (isset($_GET['unit'])) { $this->unit = $_GET['unit']; } if (isset($_GET['include_replies'])) { $this->include_replies = $this->isTrue($_GET['include_replies']); } if (isset($_GET['include_entities'])) { $this->include_entities = $this->isTrue($_GET['include_entities']); } if (isset($_GET['trim_user'])) { $this->trim_user = $this->isTrue($_GET['trim_user']); } if (isset($_GET['include_rts'])) { $this->include_rts = $this->isTrue($_GET['include_rts']); } /* * END READ IN OF QUERY STRING VARS */ // perhaps extend this in future to allow auth to see private posts $this->is_public = true; }
/** * Constructor * * @param boolean $session_started */ public function __construct($session_started = false) { parent::__construct($session_started); $this->setViewTemplate('crawler.checkcrawler.tpl'); $this->disableCaching(); }
/** * Constructor * * @param boolean $session_started */ public function __construct($argc, $argv) { parent::__construct(true); $this->argc = $argc; $this->argv = $argv; }
public function __construct($session_started = false) { parent::__construct($session_started); }
/** * Constructor * @param boolean $session_started */ public function __construct($session_started = false) { parent::__construct($session_started); $this->setViewTemplate('map.tpl'); $this->setPageTitle('Locate Post on Map'); }