Ejemplo n.º 1
0
 public function __construct()
 {
     Openbiz::$app = $this;
     //$this->isInitialized = true;
     // preInit
     // registerErrorHandlers
     // registerCoreComponent
     $this->request = new Request($this);
     $this->initSystemDefaultTimezone();
     // define default class alias
     $classAliases = ['BizDataObj' => 'Openbiz\\Data\\BizDataObj', 'BizField' => 'Openbiz\\Data\\BizField', 'EasyForm' => 'Openbiz\\Easy\\EasyForm', 'WebPage' => 'Openbiz\\Easy\\WebPage', 'PickerForm' => 'Openbiz\\Easy\\PickerForm', 'FormReference' => 'Openbiz\\Easy\\FormReference', 'AutoSuggest' => 'Openbiz\\Easy\\Element\\AutoSuggest', 'BarcodeScanner' => 'Openbiz\\Easy\\Element\\BarcodeScanner', 'Button' => 'Openbiz\\Easy\\Element\\Button', 'Checkbox' => 'Openbiz\\Easy\\Element\\Checkbox', 'CheckListbox' => 'Openbiz\\Easy\\Element\\CheckListbox', 'CKEditor' => 'Openbiz\\Easy\\Element\\CKEditor', 'ColorPicker' => 'Openbiz\\Easy\\Element\\ColorPicker', 'ColumnBar' => 'Openbiz\\Easy\\Element\\ColumnBar', 'ColumnBool' => 'Openbiz\\Easy\\Element\\ColumnBool', 'ColumnHidden' => 'Openbiz\\Easy\\Element\\ColumnHidden', 'ColumnImage' => 'Openbiz\\Easy\\Element\\ColumnImage', 'ColumnInputText' => 'Openbiz\\Easy\\Element\\ColumnInputText', 'ColumnList' => 'Openbiz\\Easy\\Element\\ColumnList', 'ColumnListbox' => 'Openbiz\\Easy\\Element\\ColumnListbox', 'ColumnPassword' => 'Openbiz\\Easy\\Element\\ColumnPassword', 'ColumnShare' => 'Openbiz\\Easy\\Element\\ColumnShare', 'ColumnSorting' => 'Openbiz\\Easy\\Element\\ColumnSorting', 'ColumnStyle' => 'Openbiz\\Easy\\Element\\ColumnStyle', 'ColumnText' => 'Openbiz\\Easy\\Element\\ColumnText', 'ColumnValue' => 'Openbiz\\Easy\\Element\\ColumnValue', 'DropDownList' => 'Openbiz\\Easy\\Element\\DropDownList', 'EditCombobox' => 'Openbiz\\Easy\\Element\\EditCombobox', 'Element' => 'Openbiz\\Easy\\Element\\Element', 'EventHandler' => 'Openbiz\\Easy\\Element\\EventHandler', 'File' => 'Openbiz\\Easy\\Element\\File', 'FileInput' => 'Openbiz\\Easy\\Element\\FileInput', 'FileUploader' => 'Openbiz\\Easy\\Element\\FileUploader', 'FormElement' => 'Openbiz\\Easy\\Element\\FormElement', 'Hidden' => 'Openbiz\\Easy\\Element\\Hidden', 'HTMLBlock' => 'Openbiz\\Easy\\Element\\HTMLBlock', 'HTMLButton' => 'Openbiz\\Easy\\Element\\HTMLButton', 'HTMLPreview' => 'Openbiz\\Easy\\Element\\HTMLPreview', 'IDCardReader' => 'Openbiz\\Easy\\Element\\IDCardReader', 'IFrameBox' => 'Openbiz\\Easy\\Element\\IFrameBox', 'ImageSelector' => 'Openbiz\\Easy\\Element\\ImageUploader', 'ImageUploader' => 'Openbiz\\Easy\\Element\\ImageUploader', 'InputDate' => 'Openbiz\\Easy\\Element\\InputDate', 'InputDateRangePicker' => 'Openbiz\\Easy\\Element\\InputDateRangePicker', 'InputDatetime' => 'Openbiz\\Easy\\Element\\InputDatetime', 'InputElement' => 'Openbiz\\Easy\\Element\\InputElement', 'InputPassword' => 'Openbiz\\Easy\\Element\\InputPassword', 'InputPicker' => 'Openbiz\\Easy\\Element\\InputPicker', 'InputText' => 'Openbiz\\Easy\\Element\\InputText', 'LabelBack' => 'Openbiz\\Easy\\Element\\LabelBack', 'LabelBar' => 'Openbiz\\Easy\\Element\\LabelBar', 'LabelBool' => 'Openbiz\\Easy\\Element\\LabelBool', 'LabelImage' => 'Openbiz\\Easy\\Element\\LabelImage', 'LabelList' => 'Openbiz\\Easy\\Element\\LabelList', 'LabelPassword' => 'Openbiz\\Easy\\Element\\LabelPassword', 'LabelText' => 'Openbiz\\Easy\\Element\\LabelText', 'LabelTextarea' => 'Openbiz\\Easy\\Element\\LabelTextarea', 'LabelTextPaging' => 'Openbiz\\Easy\\Element\\LabelTextPaging', 'Listbox' => 'Openbiz\\Easy\\Element\\Listbox', 'OptionElement' => 'Openbiz\\Easy\\Element\\OptionElement', 'PageSelector' => 'Openbiz\\Easy\\Element\\PageSelector', 'PagesizeSelector' => 'Openbiz\\Easy\\Element\\PagesizeSelector', 'Password' => 'Openbiz\\Easy\\Element\\Password', 'Radio' => 'Openbiz\\Easy\\Element\\Radio', 'RawData' => 'Openbiz\\Easy\\Element\\RawData', 'ResetButton' => 'Openbiz\\Easy\\Element\\ResetButton', 'RichText' => 'Openbiz\\Easy\\Element\\RichText', 'RowCheckbox' => 'Openbiz\\Easy\\Element\\RowCheckbox', 'Spacer' => 'Openbiz\\Easy\\Element\\Spacer', 'SubmitButton' => 'Openbiz\\Easy\\Element\\SubmitButton', 'Textarea' => 'Openbiz\\Easy\\Element\\Textarea', 'TreeLabelText' => 'Openbiz\\Easy\\Element\\TreeLabelText', 'TreeListbox' => 'Openbiz\\Easy\\Element\\TreeListbox'];
     Openbiz::objectFactory()->setClassAliases($classAliases);
 }