Class Informationsystem_Controller_Rss_Show
Показ RSS-ленты информационной системы.
Доступные методы:
- channelEntities(array) массив дополнительных элементов, добавляемых в channel, каждый элемент массив с атрибутами 'name', 'value', 'attributes'.
- group($id) идентификатор информационной группы, если FALSE, то вывод инофрмационных элементов осуществляется из всех групп
- yandex(TRUE|FALSE) экспорт в Яндекс.Новости, по умолчанию FALSE
- turbo(TRUE|FALSE) выгрузка для Яндекс.Турбо, по умолчанию FALSE
- stripTags(TRUE|FALSE) удалять HTML-теги из экспортируемых данных, по умолчанию TRUE
- cache(TRUE|FALSE) использовать кэширование, по умолчанию TRUE
- tag($path) путь тега, с использованием которого ведется отбор информационных элементов
- offset($offset) смещение, с которого выводить информационные элементы. По умолчанию 0
- limit($limit) количество выводимых элементов
$Informationsystem_Controller_Rss_Show = new Informationsystem_Controller_Rss_Show( Core_Entity::factory('Informationsystem', 1) ); $Informationsystem_Controller_Rss_Show ->limit(10) ->show();
- Core_Servant_Properties
- Core_Controller
- Informationsystem_Controller_Rss_Show
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at informationsystem/controller/rss/show.php
Methods summary
public
|
|
public
array
|
|
public
|
|
public
|
|
public
array
|
|
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(
'title',
'description',
'link',
'image',
'channelEntities',
'group',
'tag',
'offset',
'limit',
'yandex',
'turbo',
'stripTags',
'cache',
)
|
protected
array
|
$_Informationsystem_Items
Information system's items object |
#
array()
|
protected
|
$_Core_Rss
RSS |
#
array()
|
protected
string
|
$_path
Path |
#
NULL
|
protected
array
|
$_currentItem
Current |
#
array()
|
Properties inherited from Core_Controller
$_attributePrefix
,
$_cacheSignatures
,
$_cacheTags
,
$_entities
,
$_entity
,
$_mode
,
$_shownIDs
,
$_tpl
,
$_vars
,
$_xsl