Class Poll_Group_Controller_Show
Показ группы опросов
Доступные методы:
- checkIp(TRUE|FALSE) выполнять проверку по IP-адресу, по умолчанию TRUE
- poll(id) показать только опрос с указанным ID
- rand() случайный показ опросов
$Poll_Group_Controller_Show = new Poll_Group_Controller_Show( Core_Entity::factory('Poll_Group', 1) ); $Poll_Group_Controller_Show ->xsl( Core_Entity::factory('Xsl')->getByName('ОтображениеОпросаБезРезультатов') ) ->limit(1) ->show();
- Core_Servant_Properties
- Core_Controller
- Poll_Group_Controller_Show
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at poll/group/controller/show.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
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(
'checkIp',
'poll',
'offset',
'limit',
'page',
'total',
'pattern',
'patternParams',
)
|
protected
|
$_polls
List of polls |
#
NULL
|
Properties inherited from Core_Controller
$_attributePrefix
,
$_cacheSignatures
,
$_cacheTags
,
$_entities
,
$_entity
,
$_mode
,
$_shownIDs
,
$_tpl
,
$_vars
,
$_xsl