public function setName($name) { $this->name = $name; return $this; }
public function personaAddAction() { $persona = new Targeting\Persona(); $persona->setName($this->getParam("name")); $persona->save(); $this->_helper->json(["success" => true, "id" => $persona->getId()]); }