Changeset View
Changeset View
Standalone View
Standalone View
modules/in-commerce/units/orders/orders_config.php
Show First 20 Lines • Show All 320 Lines • ▼ Show 20 Line(s) | |||||
'OnHold' => Array ( | 'OnHold' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', | 'formatter' => 'kOptionsFormatter', | ||||
'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, | 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, | ||||
'not_null' => 1, 'default' => 0, | 'not_null' => 1, 'default' => 0, | ||||
), | ), | ||||
'OrderDate' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'default' => '#NOW#'), | 'OrderDate' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'default' => '#NOW#'), | ||||
'PortalUserId' =>Array ('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' =>Array (USER_ROOT => 'root', USER_GUEST => 'Guest'), 'left_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Users WHERE %s', 'left_key_field' => 'PortalUserId', 'left_title_field' => USER_TITLE_FIELD, 'required' =>1, 'not_null' =>1, 'default' =>-1), | 'PortalUserId' =>Array ('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' =>Array (USER_ROOT => 'root', USER_GUEST => 'Guest'), 'left_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Users WHERE %s', 'left_key_field' => 'PortalUserId', 'left_title_field' => USER_TITLE_FIELD, 'required' =>1, 'not_null' =>1, 'default' =>-1), | ||||
'OrderIP' => Array ('type' => 'string', 'not_null' => 1, 'default' => '', 'filter_type' => 'like'), | 'OrderIP' => Array ('type' => 'string', 'not_null' => 1, 'default' => '', 'filter_type' => 'like'), | ||||
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 | |||||
'UserComment' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => NULL), | 'UserComment' => Array ('type' => 'string', '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" | |||||
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 | |||||
'AdminComment' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => NULL), | 'AdminComment' => Array ('type' => 'string', 'default' => 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 | |||||
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" | |||||
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" | |||||
'BillingTo' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | 'BillingTo' => Array ('type' => 'string', 'not_null' => 1, '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.Array.Array.SpaceAfterKeyword: There must be no space between the Array keyword and the opening parenthesis | |||||
'BillingCompany' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | 'BillingCompany' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | ||||
'BillingPhone' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | 'BillingPhone' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | ||||
'BillingFax' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | 'BillingFax' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | ||||
'BillingEmail' => Array ( | 'BillingEmail' => Array ( | ||||
'type' => 'string', | 'type' => 'string', | ||||
'formatter' => 'kFormatter', | 'formatter' => 'kFormatter', | ||||
'regexp' => '/^(' . REGEX_EMAIL_USER . '@' . REGEX_EMAIL_DOMAIN . ')$/i', | 'regexp' => '/^(' . REGEX_EMAIL_USER . '@' . REGEX_EMAIL_DOMAIN . ')$/i', | ||||
'error_msgs' => Array ('invalid_format' => '!la_invalid_email!', 'unique' => '!lu_email_already_exist!'), | 'error_msgs' => Array ('invalid_format' => '!la_invalid_email!', 'unique' => '!lu_email_already_exist!'), | ||||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |
PHP keywords must be lowercase; expected "array" but found "Array"