function isMyItem($action)
 {
     global $_zp_current_admin_obj;
     if (parent::isMyItem($action)) {
         return true;
     }
     if (zp_loggedin($action)) {
         if ($action == LIST_RIGHTS && $this->getShow()) {
             return true;
         }
         $mycategories = $_zp_current_admin_obj->getObjects('news');
         if (!empty($mycategories)) {
             $allowed = $this->getParents();
             array_unshift($allowed, $this->getTitlelink());
             $overlap = array_intersect($mycategories, $allowed);
             if (!empty($overlap)) {
                 return true;
             }
         }
     }
     return false;
 }
 function isMyItem($action)
 {
     global $_zp_current_admin_obj;
     if (parent::isMyItem($action)) {
         return true;
     }
     if (zp_loggedin($action)) {
         $mycategories = $_zp_current_admin_obj->getObjects('news');
         if (!empty($mycategories)) {
             if (in_array($this->getTitlelink(), $mycategories)) {
                 return true;
             }
         }
     }
     return false;
 }