Changeset View
Changeset View
Standalone View
Standalone View
core/units/configuration/configuration_config.php
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Line(s) | |||||
), | ), | ||||
'Prompt' => Array ( | 'Prompt' => Array ( | ||||
'type' => 'string', | 'type' => 'string', | ||||
'formatter' => 'kFormatter', 'regexp' => '/^la_config_[A-Z\d:_\-\.]+$/i', | 'formatter' => 'kFormatter', 'regexp' => '/^la_config_[A-Z\d:_\-\.]+$/i', | ||||
'not_null' => 1, 'required' => 1, 'default' => '' | 'not_null' => 1, 'required' => 1, 'default' => '' | ||||
), | ), | ||||
'ElementType' => Array ( | 'ElementType' => Array ( | ||||
'type' => 'string', | 'type' => 'string', | ||||
'formatter' => 'kOptionsFormatter', 'options' => Array ('text' => 'la_type_text', 'select' => 'la_type_select', 'multiselect' => 'la_type_multiselect', 'radio' => 'la_type_radio', 'checkbox' => 'la_type_checkbox', 'password' => 'la_type_password', 'textarea' => 'la_type_textarea'), 'use_phrases' => 1, | 'formatter' => 'kOptionsFormatter', 'options' => Array ('text' => 'la_type_text', 'select' => 'la_type_select', 'multiselect' => 'la_type_multiselect', 'radio' => 'la_type_radio', 'checkbox' => 'la_type_checkbox', 'password' => 'la_type_password', 'textarea' => 'la_type_textarea', 'picker' => 'la_type_picker'), 'use_phrases' => 1, | ||||
Lint: Generic.PHP.LowerCaseKeyword.Found: PHP keywords must be lowercase; expected "array" but found "Array" | |||||
There must be no space between the Array keyword and the opening parenthesis Lint: CodingStandard.Arrays.Array.SpaceAfterKeyword: There must be no space between the Array keyword and the opening parenthesis | |||||
'not_null' => 1, 'required' => 1, 'default' => '' | 'not_null' => 1, 'required' => 1, 'default' => '' | ||||
A comma should follow the last multiline array item. Found: '' Lint: CodingStandard.Arrays.Array.NoLastComma: A comma should follow the last multiline array item. Found: '' | |||||
), | ), | ||||
'Validation' => Array ('type' => 'string', 'default' => NULL), | 'Validation' => Array ('type' => 'string', 'default' => NULL), | ||||
'ValueList' => Array ('type' => 'string', 'default' => NULL), | 'ValueList' => Array ('type' => 'string', 'default' => NULL), | ||||
'DisplayOrder' => Array ( | 'DisplayOrder' => Array ( | ||||
'type' => 'float', | 'type' => 'float', | ||||
'unique' => Array ('ModuleOwner', 'Section', 'GroupDisplayOrder'), | 'unique' => Array ('ModuleOwner', 'Section', 'GroupDisplayOrder'), | ||||
'not_null' => 1, 'required' => 1, 'default' => 0 | 'not_null' => 1, 'required' => 1, 'default' => 0 | ||||
), | ), | ||||
'GroupDisplayOrder' => Array ( | 'GroupDisplayOrder' => Array ( | ||||
'type' => 'float', | 'type' => 'float', | ||||
'unique' => Array ('ModuleOwner', 'Section', 'DisplayOrder'), | 'unique' => Array ('ModuleOwner', 'Section', 'DisplayOrder'), | ||||
'not_null' => 1, 'required' => 1, 'default' => 0 | 'not_null' => 1, 'required' => 1, 'default' => 0 | ||||
), | ), | ||||
'Install' => Array ('type' => 'int', 'not_null' => 1, 'default' => 1), | 'Install' => Array ('type' => 'int', 'not_null' => 1, 'default' => 1), | ||||
'HintLabel' => Array ('type' => 'string', 'max_len' => 255, 'default' => NULL), | 'HintLabel' => Array ('type' => 'string', 'max_len' => 255, 'default' => NULL), | ||||
), | ), | ||||
'VirtualFields' => Array ( | 'VirtualFields' => Array ( | ||||
'DirectOptions' => Array ('type' => 'string', 'default' => ''), | 'DirectOptions' => Array ('type' => 'string', 'default' => ''), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file |
PHP keywords must be lowercase; expected "array" but found "Array"