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

Procedural File: function.pagerendertime.php

Source Location: /system/Theme/plugins/function.pagerendertime.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pagerendertime.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








smarty_function_pagerendertime [line 33]

string smarty_function_pagerendertime( array $params, &$smarty, object $smarty, string $round)

Smarty function to get the site's page render time

available parameters:

  • assign if set, the message will be assigned to this variable
  • round if the, the time will be rounded to this number of decimal places (optional: default 2)
Example <!--[pagerendertime]--> outputs 'Page created in 0.18122792243958 seconds.'

<!--[pagerendertime round=2]--> outputs 'Page created in 0.18 seconds.'




Tags:

return:  the page render time in seconds
author:  Mark West
since:  08/02/04


Parameters

array   $params   All attributes passed to this function from the template
object   $smarty   Reference to the Smarty object
string   $round   format to apply to the number (based on the round php function)
   &$smarty  
[ Top ]



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