/** * Renders empty form * * @return string */ public function addAction() { $this->view->getPluginBag()->load('preview'); $category = new VirtualEntity(); $category->setSeo(true); return $this->createForm($category, 'Add a category'); }
/** * Renders empty form * * @return string */ public function addAction() { $this->view->getPluginBag()->load('preview'); $album = new VirtualEntity(); $album->setSeo(true); return $this->createForm($album, 'Add an album'); }
/** * Renders empty form * * @return string */ public function addAction() { $form = new VirtualEntity(); $form->setSeo(true)->setMessageView('message'); return $this->createForm($form, 'Add a form'); }
/** * Renders empty form * * @return string */ public function addAction() { $product = new VirtualEntity(); $product->setSeo(true)->setPublished(true)->setSpecialOffer(false); return $this->createForm($product, 'Add a product'); }
/** * Renders empty form * * @return string */ public function addAction() { $category = new VirtualEntity(); $category->setSeo(true); return $this->createForm($category, 'Add a category'); }
/** * Renders empty form * * @return string */ public function addAction() { $page = new VirtualEntity(); $page->setSeo(true)->setController('Pages:Page@indexAction'); return $this->createForm($page, 'Add a page'); }
/** * Renders empty form * * @return string */ public function addAction() { $announce = new VirtualEntity(); $announce->setSeo(true)->setPublished(true); return $this->createForm($announce, 'Add new announce'); }