Ejemplo n.º 1
0
 public function createNewTypeAction()
 {
     $type = $this->getInput("type", "post");
     $json = json_encode($this->getInput("data", "post"));
     $dm = new App_SysTag_Tree_Dm();
     $dm->setJson($json)->setDescription("base version")->setType($type);
     $r = $this->_getSysTagTreeDs()->add($dm);
     print_r($r);
     die;
 }