/**
  * prepare
  * 
  * @param   void
  * 
  * @return  bool
  **/
 public function prepare()
 {
     parent::prepare();
     if ($this->mObject->isNew()) {
     }
     return true;
 }
 /**
  * prepare
  * 
  * @param   void
  * 
  * @return  bool
  **/
 public function prepare()
 {
     parent::prepare();
     if ($this->mObject->isNew()) {
         if ($this->mRoot->mContext->mUser->isInRole('Site.RegisteredUser')) {
             $this->mObject->set('uid', $this->mRoot->mContext->mXoopsUser->get('uid'));
         }
         $this->mObject->set('category_id', $this->_getCatId());
     }
     $this->_setupAccessController('item');
     return true;
 }
 /**
  * prepare
  * 
  * @param   void
  * 
  * @return  bool
  **/
 public function prepare()
 {
     return parent::prepare() && is_object($this->mObject);
 }