concrete/src/File/Service/File.php
public function unfilename($filename)
    {
        $parts = $this->splitFilename($filename);
        $txt = Core::make('helper/text');
        /* @var $txt \Concrete\Core\Utility\Service\Text */

        return $txt->unhandle($parts[0] . $parts[1]);
    }
public function unfilename($filename)
    {
        $parts = $this->splitFilename($filename);
        $txt = Core::make('helper/text');
        /* @var $txt \Concrete\Core\Utility\Service\Text */

        return $txt->unhandle($parts[0] . $parts[1]);
    }
public function unfilename ( $ filename ) { $ parts = $ this -> splitFilename ( $ filename ) ; $ txt = Core :: make ( 'helper/text' ) ; /* @var $txt \Concrete\Core\Utility\Service\Text */ return $ txt -> unhandle ( $ parts [ 0 ] . $ parts [ 1 ] ) ; }
Removes the extension of a filename, uncamelcases it.

@param string $filename

@return string
Removes the extension of a filename uncamelcases it .