private function loadTimezone() {
		
		if (!is_null($this->id) and (is_null($this->tzName) or is_null($this->tzOffset))) {
			
			$this->db->setQuery('SELECT timezone_name, timezone_offset FROM `sessions` WHERE id_user = ?');
			$obj = $this->db->loadObject($this->id);
			$this->tzOffset	= $obj->timezone_offset;
			$this->tzName	= $obj->timezone_name;
			
		}
		
	}
private function loadTimezone() {
		
		if (!is_null($this->id) and (is_null($this->tzName) or is_null($this->tzOffset))) {
			
			$this->db->setQuery('SELECT timezone_name, timezone_offset FROM `sessions` WHERE id_user = ?');
			$obj = $this->db->loadObject($this->id);
			$this->tzOffset	= $obj->timezone_offset;
			$this->tzName	= $obj->timezone_name;
			
		}
		
	}
private function loadTimezone ( ) { if ( ! is_null ( $ this -> id ) and ( is_null ( $ this -> tzName ) or is_null ( $ this -> tzOffset ) ) ) { $ this -> db -> setQuery ( 'SELECT timezone_name, timezone_offset FROM `sessions` WHERE id_user = ?' ) ; $ obj = $ this -> db -> loadObject ( $ this -> id ) ; $ this -> tzOffset = $ obj -> timezone_offset ; $ this -> tzName = $ obj -> timezone_name ; } }
If time zone name or offset is null, will loads from session table their values and
populates this object cache properties.
If time zone name or offset is null will loads from session table their values and populates this object cache properties .