コード例 #1
0
ファイル: UIForm.php プロジェクト: rjwalsh88/BawkApp
 /**
  * Constructs the UIForm.
  *
  * $name : Form name. Currently not used for anything important.
  * $method : Form method. GET by default
  * $action : Form action. Current page by default
  */
 public function __construct($name, $method = 'GET', $action = null)
 {
     parent::__construct();
     if ($action == null) {
         $action = Server::currentPageName();
     }
     $this->method = $method;
     $this->action = $action;
     $this->name = $name;
     $this->encoding = '';
     $this->hasDatePicker = false;
     $this->hasMultiSelect = false;
     require_js('validate');
     require_css('form');
 }
コード例 #2
0
ファイル: UIPage.php プロジェクト: rjwalsh88/BawkApp
 public function __construct()
 {
     parent::__construct();
     require_css('header');
     require_css('body');
 }