[ Index ]
 

Code source de XOOPS 2.0.17.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/htdocs/class/smarty/xoops_plugins/ -> compiler.xoImgUrl.php (sommaire)

xoImgUrl Smarty compiler plug-in See the enclosed file LICENSE for licensing information. If you did not receive this file, get it at http://www.fsf.org/copyleft/gpl.html

Author: Skalpa Keo <skalpa@xoops.org>
Copyright: The XOOPS project http://www.xoops.org/
License: http://www.fsf.org/copyleft/gpl.html GNU public license
Version: $Id: compiler.xoImgUrl.php 506 2006-05-26 23:10:37Z skalpa $
Poids: 43 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 fonction

  smarty_compiler_xoImgUrl()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

smarty_compiler_xoImgUrl( $argStr, &$smarty )   X-Ref
Inserts the URL of a file resource customizable by themes

This plug-in works like the {@link smarty_compiler_xoAppUrl() xoAppUrl} plug-in,
except that it is intended to generate the URL of resource files customizable by
themes.

Here the current theme is asked to check if a custom version of the requested file exists, and
if one is found its URL is returned. Otherwise, the request will be passed to the
theme parents one by one. Ultimately, if no custom version has been found, the resource
default URL location will be returned.

<b>Note:</b> the themes inheritance system can generate many filesystem accesses depending
on your themes configuration. Because of this, the use of the dynamic syntax with this plug-in
is not possible right now.



Généré le : Sun Nov 25 11:44:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics