function setImage($image, $absoluteUrl = false)
    {
        $this->setStyle(null);
        $this->setSubStyle(null);
        if (!$absoluteUrl) {
            $this->image = Manialink::$imagesURL . $image;
        } else {
            $this->image = $image;
        }
    }
function setImage($image, $absoluteUrl = false)
    {
        $this->setStyle(null);
        $this->setSubStyle(null);
        if (!$absoluteUrl) {
            $this->image = Manialink::$imagesURL . $image;
        } else {
            $this->image = $image;
        }
    }
function setImage ( $ image , $ absoluteUrl = false ) { $ this -> setStyle ( null ) ; $ this -> setSubStyle ( null ) ; if ( ! $ absoluteUrl ) { $ this -> image = Manialink :: $ imagesURL . $ image ; } else { $ this -> image = $ image ; } }
Applies an image to the element
@param string The image filename (or URL)
@param bool Whether to prefix the filename with the default images dir URL
Applies an image to the element