Class Shop_Compare_Controller_Show
Показ сравнения.
Доступные методы:
- itemsProperties(TRUE|FALSE|array()) выводить значения дополнительных свойств товаров, по умолчанию FALSE. Может принимать массив с идентификаторами дополнительных свойств, значения которых необходимо вывести.
- itemsPropertiesList(TRUE|FALSE|array()) выводить список дополнительных свойств товаров, по умолчанию TRUE
- modifications(TRUE|FALSE) показывать модификации для выбранных товаров, по умолчанию FALSE
- commentsRating(TRUE|FALSE) показывать оценки комментариев для выбранных товаров, по умолчанию FALSE
- limit($limit) количество
Доступные свойства:
- total количество товаров в сравнении
$Shop_Compare_Controller_Show = new Shop_Compare_Controller_Show( Core_Entity::factory('Shop', 1) ); $Shop_Compare_Controller_Show ->xsl( Core_Entity::factory('Xsl')->getByName('МагазинИзбранное') ) ->limit(5) ->show();
- Core_Servant_Properties
-
Core_Controller
-
Shop_Compare_Controller_Show
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at shop/compare/controller/show.php
Methods summary
public
|
|
public
|
|
protected
|
|
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(
'compareUrl',
'itemsProperties',
'itemsPropertiesList',
'modifications',
'commentsRating',
'offset',
'page',
'total',
'pattern',
'patternParams',
'limit'
)
|
protected
array
|
$_aItem_Properties
List of properties for item |
#
array()
|
protected
array
|
$_aItem_Property_Dirs
List of property directories for item |
#
array()
|
protected
|
$_oSiteuser
Current Siteuser |
#
NULL
|
Properties inherited from Core_Controller
$_attributePrefix,
$_cacheSignatures,
$_cacheTags,
$_entities,
$_entity,
$_mode,
$_shownIDs,
$_tpl,
$_vars,
$_xsl