Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page function.sqldebug.php

Procedural File: function.sqldebug.php

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

Classes:



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
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 ]


Packages:

Files:

Classes: