public function isTitled() { if (is_null($this->isTitled)) { $this->isTitled = CacheTitled::isTitled($this->id) > 0 ? true : false; } return $this->isTitled; }
public function isTitled() { //return $this->isTitled = CacheTitled::isTitled($this->id); if (is_null($this->isTitled)) { $this->isTitled = CacheTitled::isTitled($this->id); } return $this->isTitled; }