core

Changeset 24922

Show
Ignore:
Timestamp:
11/29/08 15:23:36 (6 weeks ago)
Author:
Landseer
Message:

updated docs, this closes #378

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • development/main/system/pnRender/plugins/insert.setpagevar.php

    r24728 r24922  
    55 * @copyright (c) 2008, Zikula Development Team 
    66 * @link http://www.zikula.org 
    7  * @version $Id: $ 
     7 * @version $Id$ 
    88 * @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html 
    99 * @package Zikula_Template_Plugins 
     
    1212 
    1313/** 
    14  * Smarty function to set page variable 
     14 * Smarty function to set a single value page variable 
    1515 * 
    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! 
    1718 * 
    1819 * Available parameters: 
    19  *   - var:     The name of the page variable to set 
     20 *   - var:     The name of the single value page variable to set 
    2021 *   - value:    The value of the page variable to set 
    2122 * 
    22  * Zikula doesn't impose any restriction on the page variabl's name except for duplicate 
    23  * and reserved names. As of this writing, the list of reserved names consists of 
     23 * 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 
    2425 * <ul> 
    2526 * <li>title</li> 
    2627 * <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> 
    3328 * </ul> 
    3429 * 
     
    4237 * @param        object      &$smarty     Reference to the Smarty object 
    4338 * @param        string      $var         Name of the page variable to set 
    44  * @param        string      $value        Value of  he page variable to set 
     39 * @param        string      $value       Value of  he page variable to set 
    4540 */ 
    4641function smarty_insert_setpagevar($params, &$smarty) 
 
 
Powered by Trac
Design by Arcsin