/** * @author Krzysztof Bednarczyk */ public function initialize() { $this->initValidationMessages(); $this->setComponentName('input.textInputComponent'); $this->setType("text"); parent::initialize(); }
/** * @author Krzysztof Bednarczyk */ public function initialize() { $this->setComponentName('input.treeInputComponent'); $this->setParamByRef("nodes", $this->children); $this->setCheckbox(false); $this->setSelectMode(self::MODE_SINGLE); parent::initialize(); }
/** * @author Krzysztof Bednarczyk */ public function initialize() { $this->setComponentName('input.searchInputComponent'); $this->setParamByRef("parameters", $this->parameters); $this->setParam("libs", ["//cdn.rawgit.com/bordeux/search.js/master/vendor/underscore-1.4.3.js", "//cdn.rawgit.com/bordeux/search.js/master/vendor/backbone.js", "//cdn.rawgit.com/bordeux/search.js/02e31b9ba061b3d9cfe9eefe742c0b2375bee56a/lib/js/search.js"]); $this->setParam("libsCss", ["//cdn.rawgit.com/bordeux/search.js/master/lib/css/reset.css", "//cdn.rawgit.com/bordeux/search.js/master/lib/css/icons.css", "//cdn.rawgit.com/bordeux/search.js/master/lib/css/workspace.css"]); parent::initialize(); }
/** * @author Krzysztof Bednarczyk */ public function initialize() { $this->setComponentName('input.iconInputComponent'); $this->setParamByRef("icons", $this->icons); parent::initialize(); }
/** * @author Krzysztof Bednarczyk */ public function initialize() { $this->setComponentName('input.tickInputComponent'); $this->setValidatorMessage("required", "You must tick this"); parent::initialize(); }
public function initialize() { $this->setComponentName('input.checkboxInputComponent'); $this->setValidatorMessage("required", "You must select one of option"); parent::initialize(); }
public function initialize() { $this->setComponentName('input.selectListInputComponent'); $this->setParamByRef("items", $this->items); parent::initialize(); }
/** * @author Krzysztof Bednarczyk */ public function initialize() { $this->setComponentName('input.dateInputComponent'); parent::initialize(); }