Documentation

CatalogModel
in package

Created by PhpStorm.

User: Keramatifar Date: 07/03/2019 Time: 01:20 PM

Table of Contents

getCategoryPagination()  : array<string|int, mixed>
getProductsByCategoryID()  : array<string|int, mixed>|null
getProductsByCategoryIDWithPagination()  : array<string|int, mixed>|null

Methods

getCategoryPagination()

public static getCategoryPagination( $categoryID,  $categoryName,  $pageNumber,  $itemsCount) : array<string|int, mixed>
Parameters
$categoryID :
$categoryName :
$pageNumber :
$itemsCount :
Return values
array<string|int, mixed>

getProductsByCategoryID()

public static getProductsByCategoryID( $categoryID) : array<string|int, mixed>|null
Parameters
$categoryID :
Return values
array<string|int, mixed>|null

getProductsByCategoryIDWithPagination()

public static getProductsByCategoryIDWithPagination( $categoryID[, int $pageNumber = 1 ]) : array<string|int, mixed>|null
Parameters
$categoryID :
$pageNumber : int = 1
Return values
array<string|int, mixed>|null

Search results