Changeset View
Standalone View
modules/in-commerce/units/products/products_config.php
Show First 20 Lines • Show All 356 Lines • ▼ Show 20 Line(s) | |||||
'show_pick' => Array ('label' => 'la_prompt_EditorsPick', 'on_sql' => '', 'off_sql' => '%1$s.`EditorsPick` != 1' ), | 'show_pick' => Array ('label' => 'la_prompt_EditorsPick', 'on_sql' => '', 'off_sql' => '%1$s.`EditorsPick` != 1' ), | ||||
) | ) | ||||
), | ), | ||||
'TableName' => TABLE_PREFIX . 'Products', | 'TableName' => TABLE_PREFIX . 'Products', | ||||
'CustomDataTableName' => TABLE_PREFIX . 'ProductsCustomData', | 'CustomDataTableName' => TABLE_PREFIX . 'ProductsCustomData', | ||||
'CalculatedFields' => Array ( | 'CalculatedFields' => Array ( | ||||
'' => Array ( | '' => 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 | |||||
'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))', | |||||
'AltName' => 'img.AltName', | 'AltName' => 'img.AltName', | ||||
'SameImages' => 'img.SameImages', | 'SameImages' => 'img.SameImages', | ||||
'LocalThumb' => 'img.LocalThumb', | 'LocalThumb' => 'img.LocalThumb', | ||||
'ThumbPath' => 'img.ThumbPath', | 'ThumbPath' => 'img.ThumbPath', | ||||
'ThumbUrl' => 'img.ThumbUrl', | 'ThumbUrl' => 'img.ThumbUrl', | ||||
'LocalImage' => 'img.LocalImage', | 'LocalImage' => 'img.LocalImage', | ||||
'LocalPath' => 'img.LocalPath', | 'LocalPath' => 'img.LocalPath', | ||||
'FullUrl' => 'img.Url', | 'FullUrl' => 'img.Url', | ||||
'Price' => 'COALESCE(pricing.Price, 0)', | 'Price' => 'COALESCE(pricing.Price, 0)', | ||||
'Cost' => 'COALESCE(pricing.Cost, 0)', | 'Cost' => 'COALESCE(pricing.Cost, 0)', | ||||
'PrimaryCat' => TABLE_PREFIX.'%3$sCategoryItems.PrimaryCat', | 'PrimaryCat' => TABLE_PREFIX.'%3$sCategoryItems.PrimaryCat', | ||||
'CategoryId' => TABLE_PREFIX.'%3$sCategoryItems.CategoryId', | 'CategoryId' => TABLE_PREFIX.'%3$sCategoryItems.CategoryId', | ||||
'ParentPath' => TABLE_PREFIX.'Categories.ParentPath', | 'ParentPath' => TABLE_PREFIX.'Categories.ParentPath', | ||||
'Manufacturer' => TABLE_PREFIX.'Manufacturers.Name', | 'Manufacturer' => TABLE_PREFIX.'Manufacturers.Name', | ||||
'Filename' => TABLE_PREFIX.'%3$sCategoryItems.Filename', | 'Filename' => TABLE_PREFIX.'%3$sCategoryItems.Filename', | ||||
'CategoryFilename' => TABLE_PREFIX.'Categories.NamedParentPath', | 'CategoryFilename' => TABLE_PREFIX.'Categories.NamedParentPath', | ||||
'FileSize' => 'files.Size', | 'FileSize' => 'files.Size', | ||||
'FilePath' => 'files.FilePath', | 'FilePath' => 'files.FilePath', | ||||
'FileVersion' => 'files.Version', | 'FileVersion' => 'files.Version', | ||||
), | ), | ||||
'showall' => Array ( | 'showall' => 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 | |||||
'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))', | |||||
'Price' => 'COALESCE(pricing.Price, 0)', | 'Price' => 'COALESCE(pricing.Price, 0)', | ||||
'Manufacturer' => TABLE_PREFIX.'Manufacturers.Name', | 'Manufacturer' => TABLE_PREFIX.'Manufacturers.Name', | ||||
'PrimaryCat' => TABLE_PREFIX.'%3$sCategoryItems.PrimaryCat', | 'PrimaryCat' => TABLE_PREFIX.'%3$sCategoryItems.PrimaryCat', | ||||
'CategoryId' => TABLE_PREFIX.'%3$sCategoryItems.CategoryId', | 'CategoryId' => TABLE_PREFIX.'%3$sCategoryItems.CategoryId', | ||||
'FileSize' => 'files.Size', | 'FileSize' => 'files.Size', | ||||
'FilePath' => 'files.FilePath', | 'FilePath' => 'files.FilePath', | ||||
'FileVersion' => 'files.Version', | 'FileVersion' => 'files.Version', | ||||
'Filename' => TABLE_PREFIX.'%3$sCategoryItems.Filename', | 'Filename' => TABLE_PREFIX.'%3$sCategoryItems.Filename', | ||||
'CategoryFilename' => TABLE_PREFIX.'Categories.NamedParentPath', | 'CategoryFilename' => TABLE_PREFIX.'Categories.NamedParentPath', | ||||
), | ), | ||||
), | ), | ||||
'CacheModRewrite' => true, | 'CacheModRewrite' => true, | ||||
'ListSQLs' => Array ( | 'ListSQLs' => Array ( | ||||
'' => ' SELECT %1$s.* %2$s | '' => ' SELECT %1$s.* %2$s | ||||
FROM %1$s | FROM %1$s | ||||
LEFT JOIN '.TABLE_PREFIX.'UserGroups ON '.TABLE_PREFIX.'UserGroups.GroupId = %1$s.AccessGroupId | LEFT JOIN '.TABLE_PREFIX.'UserGroups ON '.TABLE_PREFIX.'UserGroups.GroupId = %1$s.AccessGroupId | ||||
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 | ||||
{PERM_JOIN} | {PERM_JOIN} | ||||
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.'%3$sProductFiles files ON files.ProductId = %1$s.ProductId AND files.IsPrimary = 1 | LEFT JOIN '.TABLE_PREFIX.'%3$sProductFiles files ON files.ProductId = %1$s.ProductId AND files.IsPrimary = 1 | ||||
LEFT JOIN '.TABLE_PREFIX.'%3$sProductsPricing pricing ON pricing.ProductId = %1$s.ProductId AND pricing.IsPrimary = 1 | LEFT JOIN '.TABLE_PREFIX.'%3$sProductsPricing pricing ON pricing.ProductId = %1$s.ProductId AND pricing.IsPrimary = 1 | ||||
LEFT JOIN '.TABLE_PREFIX.'Manufacturers ON '.TABLE_PREFIX.'Manufacturers.ManufacturerId = %1$s.ManufacturerId | LEFT JOIN '.TABLE_PREFIX.'Manufacturers ON '.TABLE_PREFIX.'Manufacturers.ManufacturerId = %1$s.ManufacturerId | ||||
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 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 | |||||
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 | |||||
LEFT JOIN ' . TABLE_PREFIX . 'Users modified ON %1$s.ModifiedById = modified.PortalUserId | |||||
LEFT JOIN '.TABLE_PREFIX.'%3$sProductsCustomData cust ON %1$s.ResourceId = cust.ResourceId', | LEFT JOIN '.TABLE_PREFIX.'%3$sProductsCustomData 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 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 | |||||
'showall' => 'SELECT %1$s.* %2$s FROM %1$s | 'showall' => 'SELECT %1$s.* %2$s FROM %1$s | ||||
LEFT JOIN '.TABLE_PREFIX.'%3$sProductsPricing pricing ON pricing.ProductId = %1$s.ProductId AND pricing.IsPrimary = 1 | LEFT JOIN '.TABLE_PREFIX.'%3$sProductsPricing pricing ON pricing.ProductId = %1$s.ProductId AND pricing.IsPrimary = 1 | ||||
LEFT JOIN '.TABLE_PREFIX.'%3$sProductFiles files ON files.ProductId = %1$s.ProductId AND files.IsPrimary = 1 | LEFT JOIN '.TABLE_PREFIX.'%3$sProductFiles files ON files.ProductId = %1$s.ProductId AND files.IsPrimary = 1 | ||||
LEFT JOIN '.TABLE_PREFIX.'Manufacturers ON '.TABLE_PREFIX.'Manufacturers.ManufacturerId = %1$s.ManufacturerId | LEFT JOIN '.TABLE_PREFIX.'Manufacturers ON '.TABLE_PREFIX.'Manufacturers.ManufacturerId = %1$s.ManufacturerId | ||||
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 | ||||
{PERM_JOIN} | {PERM_JOIN} | ||||
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 | ||||
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 | |||||
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 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 | |||||
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 after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
LEFT JOIN ' . TABLE_PREFIX . 'Users modified ON %1$s.ModifiedById = modified.PortalUserId | |||||
LEFT JOIN '.TABLE_PREFIX.'%3$sProductsCustomData cust ON %1$s.ResourceId = cust.ResourceId', | LEFT JOIN '.TABLE_PREFIX.'%3$sProductsCustomData 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 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 | |||||
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 ('Name' => 'asc'), | 'Sorting' => Array ('Name' => '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.'UserGroups pg ON pg.GroupId = %1$s.AccessGroupId | LEFT JOIN '.TABLE_PREFIX.'UserGroups pg ON pg.GroupId = %1$s.AccessGroupId | ||||
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.'%3$sProductFiles files ON files.ProductId = %1$s.ProductId AND files.IsPrimary = 1 | LEFT JOIN '.TABLE_PREFIX.'%3$sProductFiles files ON files.ProductId = %1$s.ProductId AND files.IsPrimary = 1 | ||||
LEFT JOIN '.TABLE_PREFIX.'%3$sProductsPricing pricing ON pricing.ProductId = %1$s.ProductId AND pricing.IsPrimary = 1 | LEFT JOIN '.TABLE_PREFIX.'%3$sProductsPricing pricing ON pricing.ProductId = %1$s.ProductId AND pricing.IsPrimary = 1 | ||||
LEFT JOIN '.TABLE_PREFIX.'Manufacturers ON '.TABLE_PREFIX.'Manufacturers.ManufacturerId = %1$s.ManufacturerId | LEFT JOIN '.TABLE_PREFIX.'Manufacturers ON '.TABLE_PREFIX.'Manufacturers.ManufacturerId = %1$s.ManufacturerId | ||||
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 | |||||
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 | |||||
Expected 1 space after concat operator; 0 found Lint: CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter: Expected 1 space after concat operator; 0 found | |||||
LEFT JOIN ' . TABLE_PREFIX . 'Users modified ON %1$s.ModifiedById = modified.PortalUserId | |||||
LEFT JOIN '.TABLE_PREFIX.'%3$sProductsCustomData cust ON %1$s.ResourceId = cust.ResourceId', | LEFT JOIN '.TABLE_PREFIX.'%3$sProductsCustomData 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 | |||||
), | ), | ||||
'SubItems' => Array ('pr', 'rev', 'img', 'po', 'poc', 'p-ci', 'rel', 'file', 'p-cdata', 'p-fav'), | 'SubItems' => Array ('pr', 'rev', 'img', 'po', 'poc', 'p-ci', 'rel', 'file', 'p-cdata', 'p-fav'), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'ProductId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,), | 'ProductId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,), | ||||
'Name' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'required' => 1, 'max_len' =>255, 'default' => ''), | 'Name' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'required' => 1, 'max_len' =>255, 'default' => ''), | ||||
'AutomaticFilename' => Array ( | 'AutomaticFilename' => Array ( | ||||
▲ Show 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | |||||
PRODUCT_TYPE_TANGIBLE => 'la_product_tangible', | PRODUCT_TYPE_TANGIBLE => 'la_product_tangible', | ||||
PRODUCT_TYPE_SUBSCRIPTION => 'la_product_subscription', | PRODUCT_TYPE_SUBSCRIPTION => 'la_product_subscription', | ||||
PRODUCT_TYPE_SERVICE => 'la_product_service', | PRODUCT_TYPE_SERVICE => 'la_product_service', | ||||
PRODUCT_TYPE_DOWNLOADABLE => 'la_product_downloadable', | PRODUCT_TYPE_DOWNLOADABLE => 'la_product_downloadable', | ||||
/* PRODUCT_TYPE_PACKAGE => 'la_product_package', */ | /* PRODUCT_TYPE_PACKAGE => 'la_product_package', */ | ||||
), | ), | ||||
'not_null' => 1, 'default' => 1, | 'not_null' => 1, 'default' => 1, | ||||
), | ), | ||||
'Modified' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), | 'Modified' => array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => null), | ||||
'ModifiedById' => Array ('type' => 'int', '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), | ||||
'CreatedById' => Array ( | 'CreatedById' => 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 | |||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kLEFTFormatter', | 'formatter' => 'kLEFTFormatter', | ||||
'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, | ||||
'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), | 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), | ||||
'sample_value' => 'Guest', 'required' => 1, 'default' => NULL, | 'sample_value' => 'Guest', 'required' => 1, 'default' => NULL, | ||||
), | ), | ||||
Show All 37 Lines | |||||
'not_null' => 1, 'default' => 0, | 'not_null' => 1, 'default' => 0, | ||||
), | ), | ||||
'MinQtyFreePromoShipping' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'MinQtyFreePromoShipping' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'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), | ||||
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 | |||||
'ModifiedBy' => array('type' => 'string', 'default' => ''), | |||||
'Qty' => Array ('type' => 'int', 'formatter' => 'kFormatter', 'regexp' => '/^[\d]+$/', 'default' => 0), | 'Qty' => Array ('type' => 'int', 'formatter' => 'kFormatter', 'regexp' => '/^[\d]+$/', '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" | |||||
'Price' => Array ('type' => 'float', 'formatter' => 'kFormatter', 'format' => '%.2f', 'default' => NULL), | 'Price' => Array ('type' => 'float', 'formatter' => 'kFormatter', 'format' => '%.2f', 'default' => NULL), | ||||
'Cost' => Array ('type' => 'float', 'formatter' => 'kFormatter', 'format' => '%.2f', 'default' => NULL), | 'Cost' => Array ('type' => 'float', 'formatter' => 'kFormatter', 'format' => '%.2f', 'default' => NULL), | ||||
'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), | ||||
'IsPop' => Array ('type' => 'int', 'default' => 0), | 'IsPop' => Array ('type' => 'int', 'default' => 0), | ||||
'Manufacturer' => Array ('type' => 'string', 'default' => ''), | 'Manufacturer' => Array ('type' => 'string', 'default' => ''), | ||||
▲ Show 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | |||||
'Name' => Array ( 'title' => 'la_col_ProductName', 'data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 150, ), | 'Name' => Array ( 'title' => 'la_col_ProductName', 'data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 150, ), | ||||
'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | 'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | ||||
'Type' => Array ('title' => 'column:la_fld_ProductType', 'filter_block' => 'grid_options_filter', 'width' => 80, ), | 'Type' => Array ('title' => 'column:la_fld_ProductType', 'filter_block' => 'grid_options_filter', 'width' => 80, ), | ||||
'Manufacturer' => Array ('filter_block' => 'grid_like_filter', 'width' => 100, ), | 'Manufacturer' => Array ('filter_block' => 'grid_like_filter', 'width' => 100, ), | ||||
'Price' => Array ('filter_block' => 'grid_range_filter', 'width' => 70, ), | 'Price' => Array ('filter_block' => 'grid_range_filter', 'width' => 70, ), | ||||
'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | 'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
'QtyInStock' => Array ('title' => 'column:la_fld_Qty', 'data_block' => 'qty_td', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | 'QtyInStock' => Array ('title' => 'column:la_fld_Qty', 'data_block' => 'qty_td', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | ||||
'QtyBackOrdered' => Array ('title' => 'column:la_fld_QtyBackOrdered', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | 'QtyBackOrdered' => Array ('title' => 'column:la_fld_QtyBackOrdered', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | ||||
'OnSale' => Array ('title' => 'column:la_fld_OnSale', 'filter_block' => 'grid_options_filter', 'width' => 70, ), | 'OnSale' => Array ('title' => 'column:la_fld_OnSale', 'filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
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 | |||||
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), | |||||
/*'Weight' => Array ( 'title' => 'la_col_ProductWeight', 'filter_block' => 'grid_range_filter', 'width' => 150, ), | /*'Weight' => Array ( 'title' => 'la_col_ProductWeight', 'filter_block' => 'grid_range_filter', 'width' => 150, ), | ||||
'CreatedOn' => Array ( 'title' => 'la_col_ProductCreatedOn', 'filter_block' => 'grid_date_range_filter', 'width' => 150, ), | 'CreatedOn' => Array ( 'title' => 'la_col_ProductCreatedOn', 'filter_block' => 'grid_date_range_filter', 'width' => 150, ), | ||||
'BackOrderDate' => Array ( 'title' => 'la_col_ProductBackOrderDate', 'filter_block' => 'grid_date_range_filter', 'width' => 150, ),*/ | 'BackOrderDate' => Array ( 'title' => 'la_col_ProductBackOrderDate', 'filter_block' => 'grid_date_range_filter', 'width' => 150, ),*/ | ||||
), | ), | ||||
), | ), | ||||
'Radio' => Array ( | 'Radio' => Array ( | ||||
'Icons' => Array ( | 'Icons' => Array ( | ||||
Show All 9 Lines | |||||
'SKU' => Array ( 'title' => 'la_col_ProductSKU', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | 'SKU' => Array ( 'title' => 'la_col_ProductSKU', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | ||||
'Name' => Array ( 'title' => 'la_col_ProductName', 'data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 150, ), | 'Name' => Array ( 'title' => 'la_col_ProductName', 'data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 150, ), | ||||
'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | 'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | ||||
'Type' => Array ('title' => 'column:la_fld_ProductType', 'filter_block' => 'grid_options_filter', 'width' => 80, ), | 'Type' => Array ('title' => 'column:la_fld_ProductType', 'filter_block' => 'grid_options_filter', 'width' => 80, ), | ||||
'Manufacturer' => Array ('filter_block' => 'grid_like_filter', 'width' => 100, ), | 'Manufacturer' => Array ('filter_block' => 'grid_like_filter', 'width' => 100, ), | ||||
'Price' => Array ('filter_block' => 'grid_range_filter', 'width' => 70, ), | 'Price' => Array ('filter_block' => 'grid_range_filter', 'width' => 70, ), | ||||
'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | 'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
'QtyInStock' => Array ('title' => 'column:la_fld_Qty', 'data_block' => 'qty_td', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | 'QtyInStock' => Array ('title' => 'column:la_fld_Qty', 'data_block' => 'qty_td', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | ||||
'QtyBackOrdered' => Array ('title' => 'column:la_fld_QtyBackOrdered', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | 'QtyBackOrdered' => Array ('title' => 'column:la_fld_QtyBackOrdered', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | ||||
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 | |||||
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 | |||||
'Modified' => array('filter_block' => 'grid_date_range_filter', 'width' => 140), | |||||
'ModifiedBy' => array('filter_block' => 'grid_like_filter', 'width' => 100), | |||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
'ConfigMapping' => Array ( | 'ConfigMapping' => Array ( | ||||
'PerPage' => 'Comm_Perpage_Products', | 'PerPage' => 'Comm_Perpage_Products', | ||||
'ShortListPerPage' => 'Comm_Perpage_Products_Short', | 'ShortListPerPage' => 'Comm_Perpage_Products_Short', | ||||
'ForceEditorPick' => 'products_EditorPicksAboveRegular', | 'ForceEditorPick' => 'products_EditorPicksAboveRegular', | ||||
Show All 9 Lines |
PHP keywords must be lowercase; expected "array" but found "Array"