escape($login).'" limit 1')->get(0); } public function timezone() { if (!isset($this->_timezone)) { $this->_timezone = new DateTimeZone($this->timezone); } return $this->_timezone; } public function __construct($id = null) { parent::__construct(); $this ->table('admin') ->idVar('id_admin') ->load($id); } }