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

Procedural File: resource.userdb.php

Source Location: /includes/classes/Smarty/plugins/resource.userdb.php



Page Details:

Smarty plugin



Tags:

filesource:  Source Code for this file








smarty_resource_userdb_fetch [line 23]

void smarty_resource_userdb_fetch( $tpl_name, &$tpl_source, &$smarty, [ $default = false])

Smarty plugin

------------------------------------------------------------- Type: resource Name: userdb Purpose: read user maintained source as a template $tpl_name is parsed as a uri type of string where the path to the template field is encoded as:

table/source_field?field=condtional&field=conditional...

results in: SELECT source_field FROM table WHERE conditions... -------------------------------------------------------------




Parameters

   $tpl_name  
   &$tpl_source  
   &$smarty  
   $default  
[ Top ]



smarty_resource_userdb_secure [line 121]

void smarty_resource_userdb_secure( $tpl_name, &$smarty)



Parameters

   $tpl_name  
   &$smarty  
[ Top ]



smarty_resource_userdb_source [line 60]

void smarty_resource_userdb_source( $tpl_name, &$tpl_source, &$smarty)



Parameters

   $tpl_name  
   &$tpl_source  
   &$smarty  
[ Top ]



smarty_resource_userdb_timestamp [line 78]

void smarty_resource_userdb_timestamp( $tpl_name, &$tpl_timestamp, &$smarty)

------------------------------------------------------------- pass current time back to smarty.

no need to make sql query since template will be updated in the database and local compiled template will be deleted automatically forcing smarty to reload template again form database -------------------------------------------------------------




Parameters

   $tpl_name  
   &$tpl_timestamp  
   &$smarty  
[ Top ]



smarty_resource_userdb_trusted [line 125]

void smarty_resource_userdb_trusted( $tpl_name, &$smarty)



Parameters

   $tpl_name  
   &$smarty  
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:56:36 +0200 by phpDocumentor 1.4.1