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(); }
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(); }
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); } }
public function setData($data) { $this->filter = null; return parent::setData($data); }
public function __construct($imageBlock = null, $name = null) { $this->imageBlock = $imageBlock; parent::__construct($name); }