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

Procedural File: function.sqldebug.php

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



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pagerendertime.php 19408 2006-07-13 13:20:58Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








smarty_function_sqldebug [line 32]

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

Smarty function to get the site's page render time

available parameters:

  • assign if set, the messages will be assigned to this variable
  • round if the, the time will be rounded to this number of decimal places (optional: default 2)
Example <!--[sqldebug]-->




Tags:

return:  the page render time in seconds
author:  Mark West
todo:  change to ML as language is hardcoded (as per .726).
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:46:20 +0200 by phpDocumentor 1.4.1