예제 #1
0
 /**
  * Constructor
  */
 public function __construct($title, $modid, $permname, $permdesc, $url = "")
 {
     parent::__construct($title, 'groupperm_form', ICMS_URL . '/modules/system/admin/groupperm.php', 'post');
     $this->_modid = (int) $modid;
     $this->_permName = $permname;
     $this->_permDesc = $permdesc;
     $this->addElement(new icms_form_elements_Hidden('modid', $this->_modid));
     if ($url != "") {
         $this->addElement(new icms_form_elements_Hidden('redirect_url', $url));
     }
 }
예제 #2
0
파일: form.php 프로젝트: nao-pon/impresscms
 public function __construct($title, $name, $action, $method = "post", $addtoken = false)
 {
     parent::__construct($title, $name, $action, $method, $addtoken);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Button', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }