original_string: public function loadExtra($name)
      {
          $useCurrent = ZenValidator::config()->use_current;
          $parsleyFolder = 'parsley';
          if($useCurrent) {
              $parsleyFolder = 'parsley_current';
          }
          Requirements::javascript(ZENVALIDATOR_PATH . '/javascript/'.$parsleyFolder.'/extra/validator/' . $name . '.js');
  
          $lang = i18n::get_lang_from_locale(i18n::get_locale());
          Requirements::javascript(ZENVALIDATOR_PATH . '/javascript/'.$parsleyFolder.'/i18n/' . $lang . '.extra.js');
      }
code: public function loadExtra($name)
      {
          $useCurrent = ZenValidator::config()->use_current;
          $parsleyFolder = 'parsley';
          if($useCurrent) {
              $parsleyFolder = 'parsley_current';
          }
          Requirements::javascript(ZENVALIDATOR_PATH . '/javascript/'.$parsleyFolder.'/extra/validator/' . $name . '.js');
  
          $lang = i18n::get_lang_from_locale(i18n::get_locale());
          Requirements::javascript(ZENVALIDATOR_PATH . '/javascript/'.$parsleyFolder.'/i18n/' . $lang . '.extra.js');
      }
code_tokens: public function loadExtra ( $ name ) { $ useCurrent = ZenValidator :: config ( ) -> use_current ; $ parsleyFolder = 'parsley' ; if ( $ useCurrent ) { $ parsleyFolder = 'parsley_current' ; } Requirements :: javascript ( ZENVALIDATOR_PATH . '/javascript/' . $ parsleyFolder . '/extra/validator/' . $ name . '.js' ) ; $ lang = i18n :: get_lang_from_locale ( i18n :: get_locale ( ) ) ; Requirements :: javascript ( ZENVALIDATOR_PATH . '/javascript/' . $ parsleyFolder . '/i18n/' . $ lang . '.extra.js' ) ; }
docstring: Load extra validator
  @param string $name
docstring_tokens: Load extra validator