Esempio n. 1
0
 public function isBookMarked($menu_id)
 {
     $usersNs = new Zend_Session_Namespace("members");
     $user_id = $usersNs->userId;
     $model = new Security_Model_SystemMapping();
     $row = $model->fetchRow("map_code='fdUserBookmark' and map_id1='{$user_id}' and map_id2='{$menu_id}'");
     if (false === $row) {
         return false;
     } else {
         return true;
     }
 }