/** * Initialize * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('validate', 'string', 'FlexForm-type validation configuration for this input', FALSE, 'trim'); $this->registerArgument('cols', 'int', 'Number of columns in editor', FALSE, 85); $this->registerArgument('rows', 'int', 'Number of rows in editor', FALSE, 10); $this->registerArgument('defaultExtras', 'string', 'FlexForm-syntax "defaultExtras" definition, example: "richtext[*]:rte_transform[mode=ts_css]"', FALSE, ''); $this->registerArgument('enableRichText', 'boolean', 'Shortcut for adding value of TS plugin.tx_flux.settings.flexform.rteDefaults to "defaultExtras"', FALSE, FALSE); }
/** * Initialize * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('eval', 'string', 'FlexForm-type validation configuration for this input', FALSE, 'trim'); $this->registerArgument('size', 'integer', 'Size of field', FALSE, 32); $this->registerArgument('maxCharacters', 'integer', 'Maximum number of characters allowed', FALSE); $this->registerArgument('minimum', 'integer', 'Minimum value for integer type fields', FALSE); $this->registerArgument('maximum', 'integer', 'Maximum value for integer type fields', FALSE); $this->registerArgument('placeholder', 'string', 'Placeholder text which vanishes if field is filled and/or field is focused'); }
/** * Initialize * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('userFunc', 'string', 'Classname->function notation of UserFunc to be called, example "Tx_Myext_Configuration_FlexForms_MyField->renderField" - Extbase classes need autoload registry for this', TRUE); $this->registerArgument('arguments', 'array', 'Optional array of arguments to pass to the UserFunction building this field'); }