Back to PhocacartPosPrint class

Method printImage

public
printImage
(mixed $img = '')

Method printImage - Source code

public function printImage($img = '')
{
    $o = '';
    if ($img != '') {
        $o .= '<img src="' . Uri::root(false) . '' . $img . '" data-src="' . $img . '" />' . $this->lineEnd;
    }
    return $o;
}