Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 5
0
 /**
  * Renders empty form
  * 
  * @return string
  */
 public function addAction()
 {
     $category = new VirtualEntity();
     $category->setSeo(true);
     return $this->createForm($category, 'Add a category');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }