/** * Returns the viewable entry object with the given id. * * @param integer $entryID * @return \linklist\data\entry\ViewableEntry */ public static function getEntry($entryID) { $list = new ViewableEntryList(); $list->setObjectIDs(array($entryID)); $list->readObjects(); return $list->search($entryID); }