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

Source for file function.entrypoint.php

Documentation is available at function.entrypoint.php

  1. <?php
  2. /**
  3.  * Zikula Application Framework
  4.  *
  5.  * @copyright (c) 2004, Zikula Development Team
  6.  * @link http://www.zikula.org
  7.  * @version $Id: function.closetable.php 22138 2007-06-01 10:19:14Z markwest $
  8.  * @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
  9.  * @package Zikula_Template_Plugins
  10.  * @subpackage Functions
  11.  */
  12.  
  13. /**
  14.  * Smarty function to return the entry point to the site as configured in the settings
  15.  *
  16.  * This function returns the value of the config var entrypoint
  17.  *
  18.  * Available parameters:
  19.  *   - none
  20.  *
  21.  *
  22.  * @author       Frank Schummertz
  23.  * @since        12.01.2008
  24.  * @param        array       $params      All attributes passed to this function from the template
  25.  * @param        object      &$smarty     Reference to the Smarty object
  26.  * @return       string      the value of the config var entrypoint
  27.  */
  28. function smarty_function_entrypoint($params&$smarty)
  29. {
  30.     return pnConfigGetVar('entrypoint''index.php');
  31. }

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