Class Shop_Producer_Controller_Show
Показ производителей магазина.
Доступные методы:
- dirsList(TRUE|FALSE) показывать группы производителей, по умолчанию FALSE
- group($id) идентификатор группы товаров, для которой необходимо выводить список производителей
- producer($id) идентификатор производителя
- offset($offset) смещение, по умолчанию 0
- limit($limit) количество
$oShop_Producer_Controller_Show = new Shop_Producer_Controller_Show( Core_Entity::factory('Shop', 1) ); $oShop_Producer_Controller_Show ->xsl( Core_Entity::factory('Xsl')->getByName('МагазинСписокПроизводителей') ) ->limit(5) ->show();
- Core_Servant_Properties
-
Core_Controller
-
Shop_Producer_Controller_Show
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at shop/producer/controller/show.php
Methods summary
public
|
|
protected
array
|
#
_getSiteuserGroups( )
Get array of siteuser groups for current siteuser. Exists group 0 (all) and -1 (parent) |
protected
|
|
public
array
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
protected
|
Methods inherited from Core_Controller
__toString()
,
addCacheSignature()
,
addCacheTag()
,
addEntities()
,
addEntity()
,
append()
,
assign()
,
clearCacheTag()
,
clearEntities()
,
clearVars()
,
get()
,
getCacheTags()
,
getEntities()
,
getEntity()
,
getShownIDs()
,
getStdObject()
,
getTpl()
,
getXml()
,
getXsl()
,
mode()
,
setAttributePrefix()
,
setEntity()
,
tpl()
,
xsl()
Methods inherited from Core_Servant_Properties
__call()
,
__get()
,
__isset()
,
__set()
,
addAllowedProperties()
,
addAllowedProperty()
,
set()
,
setUnlimitedProperties()
Properties summary
protected
array
|
$_allowedProperties
Allowed object properties |
#
array(
'producer',
'group',
'offset',
'limit',
'page',
'total',
'pattern',
'patternExpressions',
'patternParams',
'dirsList',
)
|
protected
array
|
$_Shop_Producers
Shop's items object |
#
array()
|
protected
array
|
$_aShop_Producer_Dirs
List of dirs of producers |
#
array()
|
protected
|
$_Shop_Producer_Dirs
Shop producer dirs object |
#
NULL
|
protected
array
|
$_aSiteuserGroups
Array of siteuser's groups allowed for current siteuser |
#
array()
|
Properties inherited from Core_Controller
$_attributePrefix
,
$_cacheSignatures
,
$_cacheTags
,
$_entities
,
$_entity
,
$_mode
,
$_shownIDs
,
$_tpl
,
$_vars
,
$_xsl