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