original_string: private static function shouldKeepURLFragmentsFor($site)
      {
          if ($site['keep_url_fragment'] == self::KEEP_URL_FRAGMENT_YES) {
              return true;
          } else if ($site['keep_url_fragment'] == self::KEEP_URL_FRAGMENT_NO) {
              return false;
          }
  
          return API::getInstance()->getKeepURLFragmentsGlobal();
      }
code: private static function shouldKeepURLFragmentsFor($site)
      {
          if ($site['keep_url_fragment'] == self::KEEP_URL_FRAGMENT_YES) {
              return true;
          } else if ($site['keep_url_fragment'] == self::KEEP_URL_FRAGMENT_NO) {
              return false;
          }
  
          return API::getInstance()->getKeepURLFragmentsGlobal();
      }
code_tokens: private static function shouldKeepURLFragmentsFor ( $ site ) { if ( $ site [ 'keep_url_fragment' ] == self :: KEEP_URL_FRAGMENT_YES ) { return true ; } else if ( $ site [ 'keep_url_fragment' ] == self :: KEEP_URL_FRAGMENT_NO ) { return false ; } return API :: getInstance ( ) -> getKeepURLFragmentsGlobal ( ) ; }
docstring: Returns whether we should keep URL fragments for a specific site.
  
  @param array $site DB data for the site.
  @return bool
docstring_tokens: Returns whether we should keep URL fragments for a specific site .