original_string: public function string_deprecated($identifier, $component) {
          $deprecated = $this->load_deprecated_strings();
          list($plugintype, $pluginname) = core_component::normalize_component($component);
          $normcomponent = $pluginname ? ($plugintype . '_' . $pluginname) : $plugintype;
          return isset($deprecated[$identifier . ',' . $normcomponent]);
      }
code: public function string_deprecated($identifier, $component) {
          $deprecated = $this->load_deprecated_strings();
          list($plugintype, $pluginname) = core_component::normalize_component($component);
          $normcomponent = $pluginname ? ($plugintype . '_' . $pluginname) : $plugintype;
          return isset($deprecated[$identifier . ',' . $normcomponent]);
      }
code_tokens: public function string_deprecated ( $ identifier , $ component ) { $ deprecated = $ this -> load_deprecated_strings ( ) ; list ( $ plugintype , $ pluginname ) = core_component :: normalize_component ( $ component ) ; $ normcomponent = $ pluginname ? ( $ plugintype . '_' . $ pluginname ) : $ plugintype ; return isset ( $ deprecated [ $ identifier . ',' . $ normcomponent ] ) ; }
docstring: Has string been deprecated?
  
  Usually checked only inside get_string() to display debug warnings.
  
  @param string $identifier The identifier of the string to search for
  @param string $component The module the string is associated with
  @return bool true if deprecated
docstring_tokens: Has string been deprecated?