| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. |
| License: | GNU/GPL, see LICENSE.php |
| Version: | $Id: image.php 14401 2010-01-26 14:10:00Z louis $ |
| File Size: | 153 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JHTMLImage:: (2 methods):
site()
administrator()
Class: JHTMLImage - X-Ref
Utility class working with images| site( $file, $folder='/images/M_images/', $altFile=NULL, $altFolder='/images/M_images/', $alt=NULL, $attribs = null, $asTag = 1) X-Ref |
| 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: string The file name, eg foobar.png param: string The path to the image param: int empty: use $file and $folder, -1: show no image, not-empty: use $altFile and $altFolder param: string Another path. Only used for the contact us form based on the value of the imagelist parm param: string Alt text param: array An associative array of attributes to add param: boolean True (default) to display full tag, false to return just the path |
| administrator( $file, $directory='/images/', $param=NULL, $param_directory='/images/', $alt = NULL, $attribs = null, $type = 1 ) X-Ref |
| 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: string The file name, eg foobar.png param: string The path to the image param: int empty: use $file and $folder, -1: show no image, not-empty: use $altFile and $altFolder param: string Another path. Only used for the contact us form based on the value of the imagelist parm param: string Alt text param: array An associative array of attributes to add param: boolean True (default) to display full tag, false to return just the path |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |