public function getBaseFileName()
    {
        $pos = strrpos($this->fileName, '.');
        if ($pos === false) {
            return $this->fileName;
        }

        return substr($this->fileName, 0, $pos);
    }
public function getBaseFileName()
    {
        $pos = strrpos($this->fileName, '.');
        if ($pos === false) {
            return $this->fileName;
        }

        return substr($this->fileName, 0, $pos);
    }
public function getBaseFileName ( ) { $ pos = strrpos ( $ this -> fileName , '.' ) ; if ( $ pos === false ) { return $ this -> fileName ; } return substr ( $ this -> fileName , 0 , $ pos ) ; }
Returns the file name without the extension.
@return string
Returns the file name without the extension .