Beispiel #1
0
 /**
  * Save data for post-category relation
  *
  * @access public
  * @param  Tech_Blog_Model_Post $post
  * @return Tech_Blog_Model_Post_Category
  * @author Ultimate Module Creator
  */
 public function savePostRelation($post)
 {
     $data = $post->getCategoriesData();
     if (!is_null($data)) {
         $this->_getResource()->savePostRelation($post, $data);
     }
     return $this;
 }