Beispiel #1
0
 /**
  * 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');
 }
Beispiel #2
0
 /**
  * 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');
 }
Beispiel #3
0
 /**
  * Renders empty form
  * 
  * @return string
  */
 public function addAction()
 {
     $form = new VirtualEntity();
     $form->setSeo(true)->setMessageView('message');
     return $this->createForm($form, 'Add a form');
 }
Beispiel #4
0
 /**
  * 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');
 }
Beispiel #5
0
 /**
  * Renders empty form
  * 
  * @return string
  */
 public function addAction()
 {
     $category = new VirtualEntity();
     $category->setSeo(true);
     return $this->createForm($category, 'Add a category');
 }
Beispiel #6
0
 /**
  * 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');
 }
Beispiel #7
0
 /**
  * Renders empty form
  * 
  * @return string
  */
 public function addAction()
 {
     $announce = new VirtualEntity();
     $announce->setSeo(true)->setPublished(true);
     return $this->createForm($announce, 'Add new announce');
 }