예제 #1
0
 public function __construct()
 {
     parent::__construct('meta');
     $this->setAttribute('method', 'post');
     $this->setLabel('Meta Settings');
     $this->setDescription('Fill out the metadata information for the page.');
     $this->init();
 }
예제 #2
0
파일: Page.php 프로젝트: Ellipizle/dotscms
 public function __construct($templates = array())
 {
     parent::__construct('page');
     $this->templates = $templates;
     $this->setAttribute('method', 'post');
     $this->setLabel('Page Settings');
     $this->setDescription('Fill out the form to set up the general settings of the page.');
     $this->init();
 }
예제 #3
0
 public function __construct($forms, $options = null)
 {
     parent::__construct(null);
     $this->setWrapElements(false);
     foreach ($forms as $key => $form) {
         // Set decorators for the form
         $form->setName($key);
         $this->add($form);
     }
 }
예제 #4
0
파일: Link.php 프로젝트: Ellipizle/dotscms
 public function setData($data)
 {
     $this->filter = null;
     return parent::setData($data);
 }
예제 #5
0
파일: Image.php 프로젝트: Ellipizle/dotscms
 public function __construct($imageBlock = null, $name = null)
 {
     $this->imageBlock = $imageBlock;
     parent::__construct($name);
 }