/**
  * @param Zend_Db_Table_Rowset $row
  * @param Pipeline_Model_PipelineCategories $entry
  * @return Pipeline_Model_PipelineCategories
  */
 protected function _setDbData($row, Pipeline_Model_PipelineCategories $entry)
 {
     $info = $this->getDbTable()->info();
     $properties = $info['cols'];
     foreach ($properties as $property) {
         $entry->__set($this->_normaliseName($property), $row->{$property});
     }
     return $entry;
 }
 /**
  * @param Pipeline_Model_PipelineCategories $categories
  * @return $this
  */
 public function setParamsDataItem(Pipeline_Model_PipelineCategories $categories)
 {
     if (Zend_Auth::getInstance()->hasIdentity()) {
         $this->_request->setParams(array('dataItem' => array('controller' => 'pipeline-categories', 'id' => $categories->getId(), 'active' => $categories->getActive(), 'deleted' => $categories->getDeleted())));
     }
     return $this;
 }