original_string: function &getRule($ruleName)
      {
          list($class, $path) = $GLOBALS['_HTML_QuickForm_registered_rules'][$ruleName];
  
          if (!isset($this->_rules[$class])) {
              if (!empty($path)) {
                  include_once($path);
              }
              $this->_rules[$class] = new $class();
          }
          $this->_rules[$class]->setName($ruleName);
          return $this->_rules[$class];
      }
code: function &getRule($ruleName)
      {
          list($class, $path) = $GLOBALS['_HTML_QuickForm_registered_rules'][$ruleName];
  
          if (!isset($this->_rules[$class])) {
              if (!empty($path)) {
                  include_once($path);
              }
              $this->_rules[$class] = new $class();
          }
          $this->_rules[$class]->setName($ruleName);
          return $this->_rules[$class];
      }
code_tokens: function & getRule ( $ ruleName ) { list ( $ class , $ path ) = $ GLOBALS [ '_HTML_QuickForm_registered_rules' ] [ $ ruleName ] ; if ( ! isset ( $ this -> _rules [ $ class ] ) ) { if ( ! empty ( $ path ) ) { include_once ( $ path ) ; } $ this -> _rules [ $ class ] = new $ class ( ) ; } $ this -> _rules [ $ class ] -> setName ( $ ruleName ) ; return $ this -> _rules [ $ class ] ; }
docstring: Returns a reference to the requested rule object
  
  @param     string   $ruleName        Name of the requested rule
  @access    public
  @return    object
docstring_tokens: Returns a reference to the requested rule object