Xanthia_Templating_Environment
[ class tree: Xanthia_Templating_Environment ] [ index: Xanthia_Templating_Environment ] [ all elements ]

Source for file function.phpversion.php

Documentation is available at function.phpversion.php

  1. <?php
  2. /**
  3.  * pnRender plugin
  4.  *
  5.  * This file is a plugin for pnRender, the Zikula implementation of Smarty
  6.  *
  7.  * @package      Xanthia_Templating_Environment
  8.  * @subpackage   pnRender
  9.  * @version      $Id: function.phpversion.php 24342 2008-06-06 12:03:14Z markwest $
  10.  * @author       The Zikula development team
  11.  * @link         http://www.zikula.org  The Zikula Home Page
  12.  * @copyright    Copyright (C) 2002 by the Zikula Development Team
  13.  * @license      http://www.gnu.org/copyleft/gpl.html GNU General Public License
  14.  */
  15.  
  16. function smarty_function_phpversion($params&$smarty)
  17. {
  18.     if (isset($params['assign'])) {
  19.         $smarty->assign($params['assign']phpversion());
  20.     else {
  21.         return phpversion();
  22.     }
  23. }

Documentation generated on Fri, 18 Jul 2008 21:45:34 +0200 by phpDocumentor 1.4.1