/** * 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'); }
public function __construct() { parent::__construct(); require_css('header'); require_css('body'); }