/** * Initialize controller * * @return void */ public function init() { if (!$this->params('isForwarded')) { $this->form = new Form\AddThis(); $this->model = $this->getServiceLocator()->get('AddThisModel'); $this->form->setModel($this->model); } }