original_string: function addData($name, $callback, $class = null, $BCMode = false)
      {
          if (!empty($class)) {
              $this->_data[$name] = array($callback, $class);
          } else {
              $this->_data[$name] = array($callback);
          }
          $this->_BCMode[$name] = $BCMode;
      }
code: function addData($name, $callback, $class = null, $BCMode = false)
      {
          if (!empty($class)) {
              $this->_data[$name] = array($callback, $class);
          } else {
              $this->_data[$name] = array($callback);
          }
          $this->_BCMode[$name] = $BCMode;
      }
code_tokens: function addData ( $ name , $ callback , $ class = null , $ BCMode = false ) { if ( ! empty ( $ class ) ) { $ this -> _data [ $ name ] = array ( $ callback , $ class ) ; } else { $ this -> _data [ $ name ] = array ( $ callback ) ; } $ this -> _BCMode [ $ name ] = $ BCMode ; }
docstring: Adds new callbacks to the callbacks list
  
  @param     string    $name       Name of rule
  @param     string    $callback   Name of function or method
  @param     string    $class      Name of class containing the method
  @param     bool      $BCMode     Backwards compatibility mode
  @access    public
docstring_tokens: Adds new callbacks to the callbacks list