original_string: public static function get_showstandard($component, $itemtype) {
          $itemtypes = self::get_areas();
          if (array_key_exists($itemtype, $itemtypes)) {
              if (!array_key_exists($component, $itemtypes[$itemtype])) {
                  $component = key($itemtypes[$itemtype]);
              }
              return $itemtypes[$itemtype][$component]->showstandard;
          }
          return core_tag_tag::BOTH_STANDARD_AND_NOT;
      }
code: public static function get_showstandard($component, $itemtype) {
          $itemtypes = self::get_areas();
          if (array_key_exists($itemtype, $itemtypes)) {
              if (!array_key_exists($component, $itemtypes[$itemtype])) {
                  $component = key($itemtypes[$itemtype]);
              }
              return $itemtypes[$itemtype][$component]->showstandard;
          }
          return core_tag_tag::BOTH_STANDARD_AND_NOT;
      }
code_tokens: public static function get_showstandard ( $ component , $ itemtype ) { $ itemtypes = self :: get_areas ( ) ; if ( array_key_exists ( $ itemtype , $ itemtypes ) ) { if ( ! array_key_exists ( $ component , $ itemtypes [ $ itemtype ] ) ) { $ component = key ( $ itemtypes [ $ itemtype ] ) ; } return $ itemtypes [ $ itemtype ] [ $ component ] -> showstandard ; } return core_tag_tag :: BOTH_STANDARD_AND_NOT ; }
docstring: Returns wether this tag area should display or not standard tags when user edits it.
  
  @param string $component component responsible for tagging
  @param string $itemtype what is being tagged, for example, 'post', 'course', 'user', etc.
  @return int
docstring_tokens: Returns wether this tag area should display or not standard tags when user edits it .