Class Siteuser_Controller_Show
Показ личного кабинета пользователя.
Доступные методы:
- properties(TRUE|FALSE) показывать дополнительные свойства, по умолчанию FALSE
- showDiscountcards(TRUE|FALSE) показывать дисконтные карты, по умолчанию FALSE
- showTransactionsAmount(TRUE|FALSE) показывать сумму по лицевым счетам, по умолчанию FALSE
- showFriends(TRUE|FALSE) показывать друзей, по умолчанию FALSE
- showGroups(TRUE|FALSE) показывать группы, по умолчанию FALSE
- showMaillists(TRUE|FALSE) показывать почтовые рассылки, по умолчанию FALSE
- showAffiliats(TRUE|FALSE) показывать аффилиатов, по умолчанию FALSE
- showAffiliatsTree(TRUE|FALSE) показывать дерево аффилиатов, по умолчанию FALSE
- showForumCounts(TRUE|FALSE) показывать количество сообщений на форуме, по умолчанию FALSE
- showConnectedProviders(TRUE|FALSE) показывать связанные социальные сети, по умолчанию TRUE
$oSiteuser = Core_Entity::factory('Siteuser')->getCurrent(); is_null($oSiteuser) && $oSiteuser = Core_Entity::factory('Siteuser'); $Siteuser_Controller_Show = new Siteuser_Controller_Show( $oSiteuser ); $Siteuser_Controller_Show ->xsl( Core_Entity::factory('Xsl')->getByName('ЛичныйКабинетПользователя') ) ->show();
- Core_Servant_Properties
- Core_Controller
- Siteuser_Controller_Show
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at siteuser/controller/show.php
Methods summary
public
|
|
public
|
|
protected
array
|
|
protected
|
|
protected
|
#
_addPropertiesList( integer $parent_id, object $parentObject )
Add list of user's properties to XML |
public
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
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(
'subject',
'contentType',
'properties',
'showGroups',
'showDiscountcards',
'showTransactionsAmount',
'showFriends',
'friendsPerGroup',
'showConnectedProviders',
'showMaillists',
'showAffiliats',
'showAffiliatsTree',
'showForumCounts',
'fastRegistration',
'location',
'dateFrom',
'dateTo',
)
|
protected
array
|
$_aProperties
List of properties |
#
array()
|
protected
array
|
$_aProperty_Dirs
Property directories |
#
array()
|
Properties inherited from Core_Controller
$_attributePrefix
,
$_cacheSignatures
,
$_cacheTags
,
$_entities
,
$_entity
,
$_mode
,
$_shownIDs
,
$_tpl
,
$_vars
,
$_xsl