CmwHandBookContextFunct: различия между версиями

Материал из CmwCms
Перейти к навигации Перейти к поиску
Строка 1: Строка 1:
 
<b>VIRTUAL(pagetype)</b> - Returns item_id of given virtual page on current site, where "current" means "specified in the URL", i.e. pointed by CURRENT_SERVER global attribute. Пример:
 
<b>VIRTUAL(pagetype)</b> - Returns item_id of given virtual page on current site, where "current" means "specified in the URL", i.e. pointed by CURRENT_SERVER global attribute. Пример:
 
<pre><:Subst @{VIRTUAL(decor)}:></pre>
 
<pre><:Subst @{VIRTUAL(decor)}:></pre>
 +
==Смотри так же==
 +
[http://cmw-cms.ru/index.php/CmwHandBookAttrs#.D0.92.D1.8B.D1.87.D0.B8.D1.81.D0.BB.D1.8F.D0.B5.D0.BC.D1.8B.D0.B5_.D0.B0.D1.82.D1.80.D0.B8.D0.B1.D1.83.D1.82.D1.8B  Вычисляемые атрибуты], по синтаксису они могут быть похожи на функции контекста.

Версия от 12:43, 8 октября 2009

VIRTUAL(pagetype) - Returns item_id of given virtual page on current site, where "current" means "specified in the URL", i.e. pointed by CURRENT_SERVER global attribute. Пример:

<:Subst @{VIRTUAL(decor)}:>

Смотри так же

Вычисляемые атрибуты, по синтаксису они могут быть похожи на функции контекста.