Changeset View
Changeset View
Standalone View
Standalone View
modules/in-bulletin/units/poll_comments/poll_comments_config.php
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | |||||
'formatter' => 'kLEFTFormatter', | 'formatter' => 'kLEFTFormatter', | ||||
'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), | 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), | ||||
'options' => Array (USER_ROOT => 'root', USER_GUEST => 'Guest'), | 'options' => Array (USER_ROOT => 'root', USER_GUEST => 'Guest'), | ||||
'left_sql' => 'SELECT %s FROM ' . TABLE_PREFIX . 'Users WHERE %s', | 'left_sql' => 'SELECT %s FROM ' . TABLE_PREFIX . 'Users WHERE %s', | ||||
'left_key_field' => 'PortalUserId', 'left_title_field' => USER_TITLE_FIELD, | 'left_key_field' => 'PortalUserId', 'left_title_field' => USER_TITLE_FIELD, | ||||
'required' => 1, 'default' => NULL | 'required' => 1, 'default' => NULL | ||||
), | ), | ||||
'GuestName' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | 'GuestName' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | ||||
'GuestEmail' => Array('type' => 'string', 'max_len' => 255, 'formatter' => 'kFormatter', 'regexp' => '/^(' . REGEX_EMAIL_USER . '@' . REGEX_EMAIL_DOMAIN . ')$/i', 'sample_value' => 'email@domain.com', 'not_null' => '1', 'default' => '', 'error_msgs' => Array ('invalid_format' => '!la_invalid_email!', 'unique' => '!lu_email_already_exist!'), 'required' => 0), | 'GuestEmail' => Array('type' => 'string', 'max_len' => 255, 'formatter' => 'kFormatter', 'regexp' => '/^(' . REGEX_EMAIL_USER . '@' . REGEX_EMAIL_DOMAIN . ')$/i', 'sample_value' => 'email@domain.com', 'not_null' => '1', 'default' => '', 'error_msgs' => Array ('invalid_format' => '!la_invalid_email!', 'unique' => '!lu_email_already_exist!'), 'required' => 0), | ||||
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.Array.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" | |||||
'CommentBody' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => NULL, 'required' => 1), | 'CommentBody' => Array ('type' => 'string', 'required' => 1, 'default' => NULL), | ||||
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Lint: Generic.PHP.LowerCaseConstant.Found: TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" | |||||
There must be no space between the Array keyword and the opening parenthesis Lint: CodingStandard.Array.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" | |||||
'CreatedOn' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'default' => '#NOW#'), | 'CreatedOn' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'default' => '#NOW#'), | ||||
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.Array.Array.SpaceAfterKeyword: There must be no space between the Array keyword and the opening parenthesis | |||||
'UserIP' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | 'UserIP' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | ||||
'Priority' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'Priority' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'Status' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_opt_Active', 0 => 'la_opt_Disabled', 2 => 'la_opt_Pending'), 'use_phrases' => 1, 'required' => 1, 'not_null' => 1, 'default' => 1), | 'Status' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_opt_Active', 0 => 'la_opt_Disabled', 2 => 'la_opt_Pending'), 'use_phrases' => 1, 'required' => 1, 'not_null' => 1, 'default' => 1), | ||||
), | ), | ||||
'VirtualFields' => Array ( | 'VirtualFields' => Array ( | ||||
'CommentedByUser' => Array ('type' => 'string', 'default' => ''), | 'CommentedByUser' => Array ('type' => 'string', 'default' => ''), | ||||
'CommentedByEmail' => Array ('type' => 'string', 'default' => ''), | 'CommentedByEmail' => Array ('type' => 'string', 'default' => ''), | ||||
Show All 29 Lines |
PHP keywords must be lowercase; expected "array" but found "Array"