CoolCMS API

PricedCategoryInterface extends TreeNodeInterface, IdentifiableInterface

Category with a price list and a free flag (Bazaar, Comcat, Discussion): a nested-set node the shared {@see \App\Core\Traits\Api\Models\Managers\CategoryPriceSyncTrait} copies to its subtree.

Table of Contents

Methods

getForFree()  : bool
getId()  : int|null
getLevel()  : int
getLft()  : int
getParentId()  : int|null
getPrices()  : Collection<int, object>
Elements are {@see CategoryPriceInterface}; callers check it with `instanceof`.
getRgt()  : int

Methods

getPrices()

Elements are {@see CategoryPriceInterface}; callers check it with `instanceof`.

public getPrices() : Collection<int, object>
Return values
Collection<int, object>
On this page

Search results