Back to Phoca Cart project (class list)

Class PhocacartProduct - list of methods

Copyright: Copyright (C) Jan Pavelka https://www.phoca.cz
License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
Located at: Phocacart/product/product.php
Project: Phoca Cart

Method Summary

public
()

Show source code of this method: __construct Source Code

public static
(mixed $productId, mixed $prioritizeCatid = 0, mixed $type = array(0, 1))

Show source code of this method: getProduct Source Code

public static
(mixed $id, mixed $catid, mixed $type = array(0, 1))

Show source code of this method: checkIfAccessPossible Source Code

public static
(mixed $id, mixed $idKey, mixed $catid, mixed $type = array(0, 1), mixed $attribs = array())

Show source code of this method: checkIfProductAttributesOptionsExist Source Code

public static
(mixed $sku, mixed $typeSku = 'sku', mixed $type = array(0, 1))

Show source code of this method: getProductIdBySku Source Code

public static
(mixed $orderId)

Show source code of this method: getProductIdByOrder Source Code

public static
(mixed $id)

Show source code of this method: getProductByProductId Source Code

public static
(mixed $limitOffset = 0, mixed $limitCount = 1, mixed $orderingItem = 1)

Show source code of this method: getProductsFull Source Code

public static
(mixed $limitOffset = 0, mixed $limitCount = 1, mixed $orderingItem = 1, mixed $orderingCat = 0, mixed $checkPublished = false, mixed $checkStock = false, mixed $checkPrice = false, mixed $categoriesList = 0, mixed $categoryIds = array(), mixed $featuredOnly = 0, mixed $type = array(0, 1), mixed $queryColumns = '', mixed $return = '', mixed $filterLang = false)

Show source code of this method: getProducts Source Code

public static
(mixed $id)

Show source code of this method: getCategoryByProductId Source Code

public static
(mixed $id)

Show source code of this method: getCategoriesByProductId Source Code

public static
(mixed $id)

Show source code of this method: getImagesByProductId Source Code

public static
(mixed $id)

Show source code of this method: getImageByProductId Source Code

public static
(mixed $limit = 5, mixed $checkPublished = false, mixed $checkAccess = false, mixed $count = false, mixed $type = array(0, 1))

Show source code of this method: getMostViewedProducts Source Code

public static
(mixed $limit = 5, mixed $dateFrom = '', mixed $dateTo = '', mixed $count = false)

Show source code of this method: getBestSellingProducts Source Code

public static
(mixed $pks, mixed $value = 0)

Show source code of this method: featured Source Code

public static
(mixed $data, mixed $importColumn = 1)

Show source code of this method: storeProduct Source Code

public static
(mixed $id, mixed $attributes = array(), mixed $encode = 1)

Show source code of this method: getProductKey Source Code

public static
(mixed $type = 1, mixed $onlyAvailableProducts = 0, mixed $lang = '', mixed $filterProducts = array())

Show source code of this method: getProductPrice Source Code

public static
(mixed $id)

Show source code of this method: getProductCodes Source Code

public static
()

Show source code of this method: getOnlyAvailableProductRules Source Code

public static
(mixed $cidA, mixed $limitOffset = 0, mixed $limitCount = 0, mixed $orderingItem = 1)

Show source code of this method: getProductsByCategories Source Code

public static
()

Show source code of this method: getProductCount Source Code