API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5

Référence de la classe JHTMLImage

Liste de tous les membres

Fonctions membres publiques


Documentation des fonctions membres

JHTMLImage::administrator ( file,
directory = '/images/',
param = NULL,
param_directory = '/images/',
alt = NULL,
attribs = null,
type = 1 
)

Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image

Paramètres:
stringThe file name, eg foobar.png
stringThe path to the image
intempty: use $file and $folder, -1: show no image, not-empty: use $altFile and $altFolder
stringAnother path. Only used for the contact us form based on the value of the imagelist parm
stringAlt text
arrayAn associative array of attributes to add
booleanTrue (default) to display full tag, false to return just the path

Références $file, $image, $mainframe, $type, JURI::base(), et JArrayHelper::toString().

Voici le graphe d'appel pour cette fonction :

JHTMLImage::site ( file,
folder = '/images/M_images/',
altFile = NULL,
altFolder = '/images/M_images/',
alt = NULL,
attribs = null,
asTag = 1 
)

Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image

Paramètres:
stringThe file name, eg foobar.png
stringThe path to the image
intempty: use $file and $folder, -1: show no image, not-empty: use $altFile and $altFolder
stringAnother path. Only used for the contact us form based on the value of the imagelist parm
stringAlt text
arrayAn associative array of attributes to add
booleanTrue (default) to display full tag, false to return just the path

Références $file, $folder, $mainframe, $path, JURI::base(), et JArrayHelper::toString().

Voici le graphe d'appel pour cette fonction :


La documentation de cette classe a été générée à partir du fichier suivant :