UNA
Loading...
Searching...
No Matches
BxBaseCategory Class Reference
Inheritance diagram for BxBaseCategory:
BxDolCategory BxDolFactory iBxDolFactoryObject BxTemplCategory BxForumCategory

Public Member Functions

 __construct ($aObject, $oTemplate=null)
 
 getCategoryIcon ($sValue)
 
 getCategoryTitle ($sValue)
 
 getCategoryUrl ($sValue, $aParams=[])
 
 getCategoryLink ($sName, $sValue)
 
 getCategoriesList ($bDisplayEmptyCats=true, $bAsArray=false)
 
- Public Member Functions inherited from BxDolCategory
 getObjectName ()
 
 getSearchObject ()
 
 setSearchCondition ($oSearchResult, $mixedCategory)
 
 getItemsNum ($sCategoryValue, $aParams=[])
 

Protected Attributes

 $_oTemplate
 
 $_oModule
 
 $_bModule
 
 $_sBrowseAllUrl
 
 $_sBrowseAllTitle
 
 $_sBrowseUrl
 
- Protected Attributes inherited from BxDolCategory
 $_sObject
 
 $_aObject
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolCategory
static getObjectInstance ($sObject=false)
 
static getObjectInstanceByFormAndList ($sObjectForm, $sListName)
 
- Protected Member Functions inherited from BxDolCategory
 __construct ($aObject)
 

Detailed Description

Category objects representation.

See also
BxDolCategory

Member Function Documentation

◆ getCategoriesList()

BxBaseCategory::getCategoriesList ( $bDisplayEmptyCats = true,
$bAsArray = false )

Get all categories list

Parameters
$bDisplayEmptyCatsdisplay categories with no items, true by default
Returns
categories list html

◆ getCategoryLink()

BxBaseCategory::getCategoryLink ( $sName,
$sValue )

Get link to list all items with the same category

Parameters
$sNamecategory title
$sValuecategory value
Returns
category name wrapped with A tag

The documentation for this class was generated from the following file: