Changeset View
Changeset View
Standalone View
Standalone View
modules/in-link/units/links/links_config.php
Show First 20 Lines • Show All 515 Lines • ▼ Show 20 Line(s) | |||||
'ListingTypeId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %1$s FROM '.TABLE_PREFIX.'ListingTypes ORDER BY Name', 'option_title_field' => 'Name', 'option_key_field' => 'ListingTypeId', 'default' => 0), | 'ListingTypeId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %1$s FROM '.TABLE_PREFIX.'ListingTypes ORDER BY Name', 'option_title_field' => 'Name', 'option_key_field' => 'ListingTypeId', 'default' => 0), | ||||
'MoreCategories' => Array ('type' => 'string', 'default' => ''), | 'MoreCategories' => Array ('type' => 'string', 'default' => ''), | ||||
// export related fields: begin | // export related fields: begin | ||||
'CategoryId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (), 'default' => 0), | 'CategoryId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (), 'default' => 0), | ||||
'ExportFormat' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'CSV', /*2 => 'XML'*/), 'default' => 1), | 'ExportFormat' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'CSV', /*2 => 'XML'*/), 'default' => 1), | ||||
'ExportFilename' => Array ('type' => 'string', 'default' => ''), | 'ExportFilename' => Array ('type' => 'string', 'default' => ''), | ||||
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 | |||||
'FieldsSeparatedBy' => Array ('type' => 'string', 'default' => ', '), | 'FieldsSeparatedBy' => Array ('type' => 'string', 'default' => ','), | ||||
PHP keywords must be lowercase; expected "array" but found "Array" 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 | |||||
'FieldsEnclosedBy' => Array ('type' => 'string', 'default' => '"'), | 'FieldsEnclosedBy' => Array ('type' => 'string', 'default' => '"'), | ||||
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 | |||||
PHP keywords must be lowercase; expected "array" but found "Array" Lint: Generic.PHP.LowerCaseKeyword.Found: PHP keywords must be lowercase; expected "array" but found "Array" | |||||
'LineEndings' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'Windows', 2 => 'UNIX'), 'default' => 1), | 'LineEndings' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'Windows', 2 => 'UNIX'), 'default' => 1), | ||||
'LineEndingsInside' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'CRLF', 2 => 'LF'), 'default' => 2), | 'LineEndingsInside' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'CRLF', 2 => 'LF'), 'default' => 2), | ||||
'IncludeFieldTitles' => Array ( | 'IncludeFieldTitles' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', | 'formatter' => 'kOptionsFormatter', | ||||
'options' => Array (0 => 'la_No', 1 => 'la_Yes'), | 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), | ||||
'use_phrases' => 1, 'default' => 1, | 'use_phrases' => 1, 'default' => 1, | ||||
), | ), | ||||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |
PHP keywords must be lowercase; expected "array" but found "Array"