Image.php
public function setPrettyName($name, $prefix = true)
    {
        if (empty($name)) {
            return $this;
        }

        $this->prettyName = $this->urlize($name);
        $this->prettyPrefix = $prefix;

        return $this;
    }
public function setPrettyName($name, $prefix = true)
    {
        if (empty($name)) {
            return $this;
        }

        $this->prettyName = $this->urlize($name);
        $this->prettyPrefix = $prefix;

        return $this;
    }
public function setPrettyName ( $ name , $ prefix = true ) { if ( empty ( $ name ) ) { return $ this ; } $ this -> prettyName = $ this -> urlize ( $ name ) ; $ this -> prettyPrefix = $ prefix ; return $ this ; }
Sets the pretty name of the image.
Sets the pretty name of the image .