Changeset View
Standalone View
modules/in-news/units/articles/articles_config.php
Show First 20 Lines • Show All 329 Lines • ▼ Show 20 Line(s) | |||||
), | ), | ||||
'TableName' => TABLE_PREFIX.'News', | 'TableName' => TABLE_PREFIX.'News', | ||||
'CustomDataTableName' => TABLE_PREFIX . 'NewsCustomData', | 'CustomDataTableName' => TABLE_PREFIX . 'NewsCustomData', | ||||
'CalculatedFields' => Array ( | 'CalculatedFields' => Array ( | ||||
'' => Array ( | '' => Array ( | ||||
'UserName' => 'IF (ISNULL(u.Username), IF (%1$s.CreatedById = ' . USER_ROOT . ', "root", IF (%1$s.CreatedById = ' . USER_GUEST . ', "Guest", "n/a")), IF(u.Username = "", u.Email, u.Username))', | 'UserName' => 'IF (ISNULL(u.Username), IF (%1$s.CreatedById = ' . USER_ROOT . ', "root", IF (%1$s.CreatedById = ' . USER_GUEST . ', "Guest", "n/a")), IF(u.Username = "", u.Email, u.Username))', | ||||
'ModifiedBy' => 'IF (ISNULL(modified.Username), IF (%1$s.ModifiedById = ' . USER_ROOT . ', "root", IF (%1$s.ModifiedById = ' . USER_GUEST . ', "Guest", "n/a")), IF(modified.Username = "", modified.Email, modified.Username))', | |||||
'CategoryId' => TABLE_PREFIX.'%3$sCategoryItems.CategoryId', | 'CategoryId' => TABLE_PREFIX.'%3$sCategoryItems.CategoryId', | ||||
Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
'Filename' => TABLE_PREFIX.'%3$sCategoryItems.Filename', | 'Filename' => TABLE_PREFIX.'%3$sCategoryItems.Filename', | ||||
'CategoryFilename' => TABLE_PREFIX.'Categories.NamedParentPath', | 'CategoryFilename' => TABLE_PREFIX.'Categories.NamedParentPath', | ||||
'PrimaryCat' => TABLE_PREFIX.'%3$sCategoryItems.PrimaryCat', | 'PrimaryCat' => TABLE_PREFIX.'%3$sCategoryItems.PrimaryCat', | ||||
'ParentPath' => TABLE_PREFIX.'Categories.ParentPath', | 'ParentPath' => TABLE_PREFIX.'Categories.ParentPath', | ||||
'AltName' => 'img.AltName', | 'AltName' => 'img.AltName', | ||||
'SameImages' => 'img.SameImages', | 'SameImages' => 'img.SameImages', | ||||
'LocalThumb' => 'img.LocalThumb', | 'LocalThumb' => 'img.LocalThumb', | ||||
Show All 9 Lines | |||||
'ListSQLs' => Array ( | 'ListSQLs' => Array ( | ||||
'' => ' SELECT %1$s.* %2$s | '' => ' SELECT %1$s.* %2$s | ||||
FROM %1$s | FROM %1$s | ||||
LEFT JOIN '.TABLE_PREFIX.'%3$sCategoryItems ON '.TABLE_PREFIX.'%3$sCategoryItems.ItemResourceId = %1$s.ResourceId | LEFT JOIN '.TABLE_PREFIX.'%3$sCategoryItems ON '.TABLE_PREFIX.'%3$sCategoryItems.ItemResourceId = %1$s.ResourceId | ||||
LEFT JOIN '.TABLE_PREFIX.'Categories ON '.TABLE_PREFIX.'Categories.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId | LEFT JOIN '.TABLE_PREFIX.'Categories ON '.TABLE_PREFIX.'Categories.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId | ||||
LEFT JOIN '.TABLE_PREFIX.'%3$sCatalogImages img ON img.ResourceId = %1$s.ResourceId AND img.DefaultImg = 1 | LEFT JOIN '.TABLE_PREFIX.'%3$sCatalogImages img ON img.ResourceId = %1$s.ResourceId AND img.DefaultImg = 1 | ||||
{PERM_JOIN} | {PERM_JOIN} | ||||
LEFT JOIN '.TABLE_PREFIX.'Users u ON %1$s.CreatedById = u.PortalUserId | LEFT JOIN '.TABLE_PREFIX.'Users u ON %1$s.CreatedById = u.PortalUserId | ||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
LEFT JOIN ' . TABLE_PREFIX . 'Users modified ON %1$s.ModifiedById = modified.PortalUserId | |||||
LEFT JOIN '.TABLE_PREFIX.'%3$sNewsCustomData cust ON %1$s.ResourceId = cust.ResourceId', | LEFT JOIN '.TABLE_PREFIX.'%3$sNewsCustomData cust ON %1$s.ResourceId = cust.ResourceId', | ||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
), | ), | ||||
'ListSortings' => Array ( | 'ListSortings' => Array ( | ||||
'' => Array ( | '' => Array ( | ||||
'ForcedSorting' => Array ('EditorsPick' => 'desc', 'Priority' => 'desc'), | 'ForcedSorting' => Array ('EditorsPick' => 'desc', 'Priority' => 'desc'), | ||||
'Sorting' => Array ('Title' => 'asc'), | 'Sorting' => Array ('Title' => 'asc'), | ||||
) | ) | ||||
), | ), | ||||
'ItemSQLs' => Array ( | 'ItemSQLs' => Array ( | ||||
'' => ' SELECT %1$s.* %2$s | '' => ' SELECT %1$s.* %2$s | ||||
FROM %1$s | FROM %1$s | ||||
LEFT JOIN '.TABLE_PREFIX.'%3$sCategoryItems ON '.TABLE_PREFIX.'%3$sCategoryItems.ItemResourceId = %1$s.ResourceId | LEFT JOIN '.TABLE_PREFIX.'%3$sCategoryItems ON '.TABLE_PREFIX.'%3$sCategoryItems.ItemResourceId = %1$s.ResourceId | ||||
LEFT JOIN '.TABLE_PREFIX.'Categories ON '.TABLE_PREFIX.'Categories.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId | LEFT JOIN '.TABLE_PREFIX.'Categories ON '.TABLE_PREFIX.'Categories.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId | ||||
LEFT JOIN '.TABLE_PREFIX.'%3$sCatalogImages img ON img.ResourceId = %1$s.ResourceId AND img.DefaultImg = 1 | LEFT JOIN '.TABLE_PREFIX.'%3$sCatalogImages img ON img.ResourceId = %1$s.ResourceId AND img.DefaultImg = 1 | ||||
LEFT JOIN '.TABLE_PREFIX.'Users u ON %1$s.CreatedById = u.PortalUserId | LEFT JOIN '.TABLE_PREFIX.'Users u ON %1$s.CreatedById = u.PortalUserId | ||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
LEFT JOIN ' . TABLE_PREFIX . 'Users modified ON %1$s.ModifiedById = modified.PortalUserId | |||||
LEFT JOIN '.TABLE_PREFIX.'%3$sNewsCustomData cust ON %1$s.ResourceId = cust.ResourceId' | LEFT JOIN '.TABLE_PREFIX.'%3$sNewsCustomData cust ON %1$s.ResourceId = cust.ResourceId' | ||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
A comma should follow the last multiline array item. Found: '%3$sNewsCustomData cust ON %1$s.ResourceId = cust.ResourceId' Lint: CodingStandard.Array.Array.NoLastComma: A comma should follow the last multiline array item. Found: '%3$sNewsCustomData cust ON %1$s. | |||||
), | ), | ||||
'SubItems' => Array ('n-rev', 'n-ci', 'n-rel', 'n-img', 'n-cdata', 'n-fav', 'n-file'), | 'SubItems' => Array ('n-rev', 'n-ci', 'n-rel', 'n-img', 'n-cdata', 'n-fav', 'n-file'), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'NewsId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,), | 'NewsId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,), | ||||
'Title' => Array ('type' => 'string', /*'formatter' => 'kMultiLanguage', */'not_null' => 1, 'required' => 1, 'default' => '', 'max_len' => 255), | 'Title' => Array ('type' => 'string', /*'formatter' => 'kMultiLanguage', */'not_null' => 1, 'required' => 1, 'default' => '', 'max_len' => 255), | ||||
'AutomaticFilename' => Array ( | 'AutomaticFilename' => Array ( | ||||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
'not_null' => 1, 'default' => 0, | 'not_null' => 1, 'default' => 0, | ||||
), | ), | ||||
'ResourceId' => Array ('type' => 'int', 'default' => null), | 'ResourceId' => Array ('type' => 'int', 'default' => null), | ||||
'CachedReviewsQty' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'CachedReviewsQty' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'StartDate' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'default' => '#NOW#'), | 'StartDate' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'default' => '#NOW#'), | ||||
'NewItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | 'NewItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | ||||
'PopItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | 'PopItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | ||||
'HotItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | 'HotItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | ||||
'Archived' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 2 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), | 'Archived' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 2 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), | ||||
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" | |||||
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" | |||||
'Modified' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), | 'Modified' => array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => null), | ||||
'ModifiedById' => 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, 'default' => NULL), | 'ModifiedById' => 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, 'default' => NULL), | ||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
Expected 1 space before concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore: Expected 1 space before concat operator; 0 found | |||||
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" | |||||
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 | |||||
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" | |||||
'OrgId' => Array ('type' => 'int', 'default' => null), | 'OrgId' => Array ('type' => 'int', 'default' => null), | ||||
'MetaKeywords' => Array ('type' => 'string', 'default' => null), | 'MetaKeywords' => Array ('type' => 'string', 'default' => null), | ||||
'MetaDescription' => Array ('type' => 'string', 'default' => null), | 'MetaDescription' => Array ('type' => 'string', 'default' => null), | ||||
), | ), | ||||
'VirtualFields' => Array ( | 'VirtualFields' => Array ( | ||||
'Relevance' => Array ('type' => 'float', 'default' => 0), | 'Relevance' => Array ('type' => 'float', 'default' => 0), | ||||
'MoreCategories' => Array ('type' => 'string', 'default' => ''), | 'MoreCategories' => Array ('type' => 'string', 'default' => ''), | ||||
'UserName' => Array ('type' => 'string', 'default' => ''), | 'UserName' => Array ('type' => 'string', 'default' => ''), | ||||
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" | |||||
'ModifiedBy' => array('type' => 'string', 'default' => ''), | |||||
'CategoryId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (), 'default' => 0), | 'CategoryId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (), 'default' => 0), | ||||
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" | |||||
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 | |||||
'cust_RssOriginalURL' => Array ('type' => 'string', 'default' => ''), | 'cust_RssOriginalURL' => Array ('type' => 'string', 'default' => ''), | ||||
'cust_RssArticleCRC' => Array ('type' => 'int', 'default' => 0), | 'cust_RssArticleCRC' => Array ('type' => 'int', 'default' => 0), | ||||
'Filename' => Array ('type' => 'string', 'default' => ''), | 'Filename' => Array ('type' => 'string', 'default' => ''), | ||||
'CategoryFilename' => Array ('type' => 'string', 'default' => ''), | 'CategoryFilename' => Array ('type' => 'string', 'default' => ''), | ||||
'PrimaryCat' => Array ('type' => 'int', 'default' => 0), | 'PrimaryCat' => Array ('type' => 'int', 'default' => 0), | ||||
'IsHot' => Array ('type' => 'int', 'default' => 0), | 'IsHot' => Array ('type' => 'int', 'default' => 0), | ||||
'IsNew' => Array ('type' => 'int', 'default' => 0), | 'IsNew' => Array ('type' => 'int', 'default' => 0), | ||||
▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | |||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'NewsId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | 'NewsId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | ||||
'Title' => Array ('data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 200, ), | 'Title' => Array ('data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 200, ), | ||||
'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | 'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | ||||
'UserName' => Array ('title' => 'column:la_fld_Author', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | 'UserName' => Array ('title' => 'column:la_fld_Author', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | ||||
'LeadStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 80, ), | 'LeadStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 80, ), | ||||
'LeadCatStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 85, ), | 'LeadCatStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 85, ), | ||||
'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | 'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
'CreatedOn' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'CreatedOn' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
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 | |||||
Lint: CodingStandard.WhiteSpace.CommaSpacing.After: Space found after comma | |||||
Comma not allowed after last value in single-line array declaration Lint: CodingStandard.Array.Array.LastComma: Comma not allowed after last value in single-line array declaration | |||||
'Modified' => array('filter_block' => 'grid_date_range_filter', 'width' => 140), | |||||
'ModifiedBy' => array('filter_block' => 'grid_like_filter', 'width' => 100), | |||||
'StartDate' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'StartDate' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
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 | |||||
Lint: CodingStandard.WhiteSpace.CommaSpacing.After: Space found after comma | |||||
Comma not allowed after last value in single-line array declaration Lint: CodingStandard.Array.Array.LastComma: Comma not allowed after last value in single-line array declaration | |||||
'EndOn' => Array ('data_block' => 'article_expire_td', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'EndOn' => Array ('data_block' => 'article_expire_td', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
), | ), | ||||
), | ), | ||||
'Radio' => Array ( | 'Radio' => Array ( | ||||
'Icons' => Array ( | 'Icons' => Array ( | ||||
0 => 'icon16_article_disabled.png', | 0 => 'icon16_article_disabled.png', | ||||
1 => 'icon16_article.png', | 1 => 'icon16_article.png', | ||||
2 => 'icon16_article_pending.png', | 2 => 'icon16_article_pending.png', | ||||
-2 => 'icon16_article_pending.png', // pending DUPLICATE item | -2 => 'icon16_article_pending.png', // pending DUPLICATE item | ||||
'NEW' => 'icon16_article_new.gif', | 'NEW' => 'icon16_article_new.gif', | ||||
), | ), | ||||
'Selector' => 'radio', | 'Selector' => 'radio', | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'NewsId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_radio_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | 'NewsId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_radio_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | ||||
'Title' => Array ('data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 200, ), | 'Title' => Array ('data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 200, ), | ||||
'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | 'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | ||||
'UserName' => Array ('title' => 'column:la_fld_Author', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | 'UserName' => Array ('title' => 'column:la_fld_Author', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | ||||
'LeadStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 80, ), | 'LeadStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 80, ), | ||||
'LeadCatStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 85, ), | 'LeadCatStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 85, ), | ||||
'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | 'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
'CreatedOn' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'CreatedOn' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
Comma not allowed after last value in single-line array declaration Lint: CodingStandard.Array.Array.LastComma: Comma not allowed after last value in single-line array declaration | |||||
Lint: CodingStandard.WhiteSpace.CommaSpacing.After: Space found after comma | |||||
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" | |||||
'Modified' => array('filter_block' => 'grid_date_range_filter', 'width' => 140), | |||||
'ModifiedBy' => array('filter_block' => 'grid_like_filter', 'width' => 100), | |||||
'StartDate' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'StartDate' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
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 | |||||
Lint: CodingStandard.WhiteSpace.CommaSpacing.After: Space found after comma | |||||
Comma not allowed after last value in single-line array declaration Lint: CodingStandard.Array.Array.LastComma: Comma not allowed after last value in single-line array declaration | |||||
'EndOn' => Array ('data_block' => 'article_expire_td', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'EndOn' => Array ('data_block' => 'article_expire_td', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
'ConfigMapping' => Array ( | 'ConfigMapping' => Array ( | ||||
'PerPage' => 'Perpage_News', | 'PerPage' => 'Perpage_News', | ||||
'ShortListPerPage' => 'Perpage_News_Short', | 'ShortListPerPage' => 'Perpage_News_Short', | ||||
Show All 10 Lines |
Expected 1 space after concat operator; 0 found