/** * @return DataEditControl * @param SiteSettings $o_settings * @param bool $b_entire_form * @desc Abstract data-editing form */ public function __construct(SiteSettings $o_settings, $b_entire_form = true) { parent::XhtmlForm(); $this->o_settings = $o_settings; $this->SetCssClass(str_ireplace('control', '', get_class($this))); $this->b_render_base_element = $b_entire_form; $this->SetNamingPrefix(''); # Gets internal button info # Remember previous page number if (isset($_POST[$this->GetNamingPrefix() . 'Page'])) { $this->SetCurrentPage($_POST[$this->GetNamingPrefix() . 'Page']); } }
function PersonalInfoForm(User $o_person) { $this->o_person = $o_person; parent::XhtmlForm(); }
/** * Creates a new StatisticsFilterControl */ public function __construct() { parent::XhtmlForm(); $this->AddAttribute("method", "get"); }
public function __construct(SiteSettings $settings, AuthenticationManager $authentication_manager) { $this->settings = $settings; $this->authentication_manager = $authentication_manager; parent::XhtmlForm(); }