Changeset 24922
- Timestamp:
- 11/29/08 15:23:36 (6 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
development/main/system/pnRender/plugins/insert.setpagevar.php
r24728 r24922 5 5 * @copyright (c) 2008, Zikula Development Team 6 6 * @link http://www.zikula.org 7 * @version $Id :$7 * @version $Id$ 8 8 * @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html 9 9 * @package Zikula_Template_Plugins … … 12 12 13 13 /** 14 * Smarty function to set page variable14 * Smarty function to set a single value page variable 15 15 * 16 * This function sets a page-specific variable from the Zikula system. 16 * This function sets a page-specific variable from the Zikula system. Only single value pagevars are supported by 17 * this insert! 17 18 * 18 19 * Available parameters: 19 * - var: The name of the page variable to set20 * - var: The name of the single value page variable to set 20 21 * - value: The value of the page variable to set 21 22 * 22 * Zikula doesn't impose any restriction on the page variabl 's name except for duplicate23 * and reserved names. As of this writing, the list of reserved names consists of23 * Zikula doesn't impose any restriction on the page variable's name except for duplicate 24 * and reserved names. As of this writing, the list of supported names consists of 24 25 * <ul> 25 26 * <li>title</li> 26 27 * <li>description</li> 27 * <li>keywords</li>28 * <li>stylesheet</li>29 * <li>javascript</li>30 * <li>body</li>31 * <li>rawtext</li>32 * <li>footer</li>33 28 * </ul> 34 29 * … … 42 37 * @param object &$smarty Reference to the Smarty object 43 38 * @param string $var Name of the page variable to set 44 * @param string $value Value of he page variable to set39 * @param string $value Value of he page variable to set 45 40 */ 46 41 function smarty_insert_setpagevar($params, &$smarty)
