public function getFilenameWithoutExtension()
    {
        $filename = $this->getDocument()->getFile()->getFilename();

        return substr($filename, 0, strrpos($filename, '.'));
    }
public function getFilenameWithoutExtension()
    {
        $filename = $this->getDocument()->getFile()->getFilename();

        return substr($filename, 0, strrpos($filename, '.'));
    }
public function getFilenameWithoutExtension ( ) { $ filename = $ this -> getDocument ( ) -> getFile ( ) -> getFilename ( ) ; return substr ( $ filename , 0 , strrpos ( $ filename , '.' ) ) ; }
Returns the filename for this visitor without an extension.

@return string
Returns the filename for this visitor without an extension .