framework/Mvc/Extensions/Ckfinder/lib/core/connector/php/php5/Utils/FileSystem.php
public static function getFileNameWithoutExtension($fileName, $shortExtensionMode = TRUE)
    {
        $dotPos = $shortExtensionMode ? strrpos( $fileName, '.' ) : strpos( $fileName, '.' );
        if (false === $dotPos) {
            return $fileName;
        }

        return substr($fileName, 0, $dotPos);
    }
public static function getFileNameWithoutExtension($fileName, $shortExtensionMode = TRUE)
    {
        $dotPos = $shortExtensionMode ? strrpos( $fileName, '.' ) : strpos( $fileName, '.' );
        if (false === $dotPos) {
            return $fileName;
        }

        return substr($fileName, 0, $dotPos);
    }
public static function getFileNameWithoutExtension ( $ fileName , $ shortExtensionMode = TRUE ) { $ dotPos = $ shortExtensionMode ? strrpos ( $ fileName , '.' ) : strpos ( $ fileName , '.' ) ; if ( false === $ dotPos ) { return $ fileName ; } return substr ( $ fileName , 0 , $ dotPos ) ; }
Return file name without extension

@static
@access public
@param string $fileName
@param boolean $shortExtensionMode If set to false, extension is everything after a first dot
@return string
Return file name without extension