original_string: public static function var_names_from_context($classname, $pluginname = '') {
          $pluginname = trim($pluginname);
          if (!empty($pluginname)) {
              $categoryvar = $classname . '_' . $pluginname . '_category';
              $purposevar = $classname . '_' . $pluginname . '_purpose';
          } else {
              $categoryvar = $classname . '_category';
              $purposevar = $classname . '_purpose';
          }
          return [
              $purposevar,
              $categoryvar
          ];
      }
code: public static function var_names_from_context($classname, $pluginname = '') {
          $pluginname = trim($pluginname);
          if (!empty($pluginname)) {
              $categoryvar = $classname . '_' . $pluginname . '_category';
              $purposevar = $classname . '_' . $pluginname . '_purpose';
          } else {
              $categoryvar = $classname . '_category';
              $purposevar = $classname . '_purpose';
          }
          return [
              $purposevar,
              $categoryvar
          ];
      }
code_tokens: public static function var_names_from_context ( $ classname , $ pluginname = '' ) { $ pluginname = trim ( $ pluginname ) ; if ( ! empty ( $ pluginname ) ) { $ categoryvar = $ classname . '_' . $ pluginname . '_category' ; $ purposevar = $ classname . '_' . $ pluginname . '_purpose' ; } else { $ categoryvar = $ classname . '_category' ; $ purposevar = $ classname . '_purpose' ; } return [ $ purposevar , $ categoryvar ] ; }
docstring: Returns purpose and category var names from a context class name
  
  @param string $classname The context level's class.
  @param string $pluginname The name of the plugin associated with the context level.
  @return string[]
docstring_tokens: Returns purpose and category var names from a context class name