Package DE_EPAGES::Catalog::API::Shop
Contains basic functions for ShopPagerSettings
@EXPORT_OK |
Functions
GetPageSize
Return PageSize for requested layout
Syntax |
$PageSize = GetPageSize( $Shop, $Alias ); |
Input |
|
Return |
|
GetPageSizeForCategory
Return PagerSetting for this $Category. Is 'CoverFlow_Color1' or 'CoverFlow_Color2' as category layout selected, then $PageSize is not defined.
Syntax |
$PageSize = GetPageSizeForCategory( $Category ); |
Input |
|
Return |
|
GetPageSizeForObject
Return default PageSize for given $Object and $PageTypeAlias. Don't use this function directly instead use wrapper function like GetPageSizeForCategory.
Syntax |
$PageSize = GetPageSizeForObject( $Object, $PageTypeAlias, $TemplateTypeFolderAlias ); |
Example |
$PageSize = GetPageSizeForObject( $Category, 'SF-Category', 'Content-Products' ); |
Input |
|
Return |
|
SetPageSize
Store PageSize for specific layout for the current shop.
Syntax |
SetPageSize( $Shop, $Alias, $PageSize ); |
Input |
|