/** * Constructor * @access public */ public function __construct($userAgent = null, $httpReferer = null) { parent::__construct(); // if no userAgent is given on function call mark it as empty - if the userAgent is empty keep it empty // if the userAgent stays empty it can be used for robot detecting or devices with blank UA (usually bots) // HTTP Reffer is optional so mark it empty if there is no HTTP Reffer $this->_userAgent = !is_null($userAgent) ? $userAgent : ''; $this->_httpReferer = !is_null($httpReferer) ? $httpReferer : ''; $this->seo = Zend_Registry::get('seo'); }
/** * Constructor * @access public * @return Frontend_Page */ public function __construct() { parent::__construct(); }
/** * Constructor * @access public * @return Dot_Model_User */ public function __construct() { parent::__construct(); $this->option = Zend_Registry::get('option'); $this->passwordApi = new Dot_Password(); }