PHP Class PHPFusion\Forums\Functions

显示文件 Open project: php-fusion/PHP-Fusion Class Usage Examples

Public Methods

Method Description
attach_exists ( $file ) : string Appends increment integer on multiple files on same post
display_image ( $file ) : string Display an image
display_image_attach ( $file, integer $width = 50, integer $height = 50, string $rel = "" ) : string Display attached image with a certain given width and height.

Method Details

attach_exists() public static method

Appends increment integer on multiple files on same post
public static attach_exists ( $file ) : string
$file
return string

display_image() public static method

Display an image
public static display_image ( $file ) : string
$file
return string

display_image_attach() public static method

Display attached image with a certain given width and height.
public static display_image_attach ( $file, integer $width = 50, integer $height = 50, string $rel = "" ) : string
$file
$width integer
$height integer
$rel string
return string