protected static function _getFile($fullPath) {
        $file = '';
        if (preg_match('/\/(_[A-Z].[A-Za-z]+)\.php$/', $fullPath, $matches)) {
            $file = isset($matches) && isset($matches[1]) ? $matches[1] : $file;
            self::$numFileLogs = 0;
        } else {
            switch (self::$numFileLogs) {
                case 0:
                    self::_doLog('Unable to get filename for: ' . $fullPath);
                    break;

                case 1:
                    self::_doLog('MULTIPLE ERRORS ENCOUNTERED GETTING FILE NAMES (no more will be logged): ' . $fullPath);
                    break;

                default:
                    break;
            }
            self::$numFileLogs++;
        }
        return $file;
    }
protected static function _getFile($fullPath) {
        $file = '';
        if (preg_match('/\/(_[A-Z].[A-Za-z]+)\.php$/', $fullPath, $matches)) {
            $file = isset($matches) && isset($matches[1]) ? $matches[1] : $file;
            self::$numFileLogs = 0;
        } else {
            switch (self::$numFileLogs) {
                case 0:
                    self::_doLog('Unable to get filename for: ' . $fullPath);
                    break;

                case 1:
                    self::_doLog('MULTIPLE ERRORS ENCOUNTERED GETTING FILE NAMES (no more will be logged): ' . $fullPath);
                    break;

                default:
                    break;
            }
            self::$numFileLogs++;
        }
        return $file;
    }
protected static function _getFile ( $ fullPath ) { $ file = '' ; if ( preg_match ( '/\/(_[A-Z].[A-Za-z]+)\.php$/' , $ fullPath , $ matches ) ) { $ file = isset ( $ matches ) && isset ( $ matches [ 1 ] ) ? $ matches [ 1 ] : $ file ; self :: $ numFileLogs = 0 ; } else { switch ( self :: $ numFileLogs ) { case 0 : self :: _doLog ( 'Unable to get filename for: ' . $ fullPath ) ; break ; case 1 : self :: _doLog ( 'MULTIPLE ERRORS ENCOUNTERED GETTING FILE NAMES (no more will be logged): ' . $ fullPath ) ; break ; default : break ; } self :: $ numFileLogs ++ ; } return $ file ; }
Extracts the filename from a full path

@param string $fullPath The full path name
@return string The file name
Extracts the filename from a full path