CodeExplorer getDateFilterData example
return;
} $assigningData =
[ 'sBanner' =>
$this->
get('modules'
)->
Marketing()->
sBanner($categoryId),
'sBreadcrumb' =>
$this->
getCategoryBreadcrumb($categoryId),
'sCategoryContent' =>
$categoryContent,
'sNumberArticles' =>
$totalResult,
'sPage' =>
$page,
'sPerPage' =>
$perPage,
'sFilterDate' =>
$this->
getDateFilterData($blogCategoryIds,
$filter,
$shopId),
'sFilterAuthor' =>
$this->
getAuthorFilterData($blogCategoryIds,
$filter,
$shopId),
'sFilterTags' =>
$this->
getTagsFilterData($blogCategoryIds,
$filter,
$shopId),
'sCategoryInfo' =>
$categoryContent,
'sBlogArticles' =>
$blogArticles,
'sNumberPages' =>
(int) ceil($totalResult /
$perPage),
];
$filters =
[ 'sFilterDate' =>
urlencode($filterDate),
'sFilterAuthor' =>
urlencode($filterAuthor),
'sFilterTags' =>
urlencode($filterTags),
];