[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/Smarty/libs/plugins/ -> function.html_image.php (summary)

Smarty plugin

File Size: 159 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 libraries/Smarty/libs/plugins/shared.escape_special_chars.php

Defines 1 function

  smarty_function_html_image()

Functions
Functions that are not part of a class:

smarty_function_html_image($params, $template)   X-Ref
Smarty {html_image} function plugin

Type:     function<br>
Name:     html_image<br>
Date:     Feb 24, 2003<br>
Purpose:  format HTML tags for the image<br>
Examples: {html_image file="/images/masthead.gif"}<br>
Output:   <img src="/images/masthead.gif" width=400 height=23><br>
Params:
<pre>
- file        - (required) - file (and path) of image
- height      - (optional) - image height (default actual height)
- width       - (optional) - image width (default actual width)
- basedir     - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT
- path_prefix - prefix for path output (optional, default empty)
</pre>

author: Monte Ohrt <monte at ohrt dot com>
author: credits to Duda <[email protected]>
param: array                    $params   parameters
param: Smarty_Internal_Template $template template object
return: string



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1