protected function bootstrapImage($src, $alt, $width, $height, $class, $usemap) {

        $template = "<img %attributes%/>";

        $attributes = [];

        $attributes["src"]    = $src;
        $attributes["alt"]    = $alt;
        $attributes["width"]  = $width;
        $attributes["height"] = $height;
        $attributes["class"]  = $class;
        $attributes["usemap"] = $usemap;

        return StringHelper::replace($template, ["%attributes%"], [StringHelper::parseArray($attributes)]);
    }
protected function bootstrapImage($src, $alt, $width, $height, $class, $usemap) {

        $template = "<img %attributes%/>";

        $attributes = [];

        $attributes["src"]    = $src;
        $attributes["alt"]    = $alt;
        $attributes["width"]  = $width;
        $attributes["height"] = $height;
        $attributes["class"]  = $class;
        $attributes["usemap"] = $usemap;

        return StringHelper::replace($template, ["%attributes%"], [StringHelper::parseArray($attributes)]);
    }
protected function bootstrapImage ( $ src , $ alt , $ width , $ height , $ class , $ usemap ) { $ template = "<img %attributes%/>" ; $ attributes = [ ] ; $ attributes [ "src" ] = $ src ; $ attributes [ "alt" ] = $ alt ; $ attributes [ "width" ] = $ width ; $ attributes [ "height" ] = $ height ; $ attributes [ "class" ] = $ class ; $ attributes [ "usemap" ] = $ usemap ; return StringHelper :: replace ( $ template , [ "%attributes%" ] , [ StringHelper :: parseArray ( $ attributes ) ] ) ; }
Displays a Bootstrap image.

@param string $src The source
@param string $alt The alternative text.
@param string $width The width.
@param string $height The height.
@param string $class The class.
@param string $usemap The usemap.
@return string Returns the Bootstrap image.
Displays a Bootstrap image .