Example #1
0
 /**
  * Fetch entry by ID
  * @param string $id
  * @return boolean|Model_Entry
  */
 public function fetchById($id = null)
 {
     if (is_null($id)) {
         $id = $this->getId();
     }
     if (is_null($id)) {
         return false;
     }
     $modelEntry = new Model_Entry();
     return $modelEntry->getEntryById($id);
 }