original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Extracts the filename from a full path
  
  @param string $fullPath The full path name
  @return string The file name
docstring_tokens: Extracts the filename from a full path