original_string: public function add_result($result) {
          if (!is_null($this->plan)) {
              $this->plan->add_result($result);
          } else {
              debugging('Attempting to add a result of a task not binded with a plan', DEBUG_DEVELOPER);
          }
      }
code: public function add_result($result) {
          if (!is_null($this->plan)) {
              $this->plan->add_result($result);
          } else {
              debugging('Attempting to add a result of a task not binded with a plan', DEBUG_DEVELOPER);
          }
      }
code_tokens: public function add_result ( $ result ) { if ( ! is_null ( $ this -> plan ) ) { $ this -> plan -> add_result ( $ result ) ; } else { debugging ( 'Attempting to add a result of a task not binded with a plan' , DEBUG_DEVELOPER ) ; } }
docstring: Add the given info to the current plan's results.
  
  @see base_plan::add_result()
  @param array $result associative array describing a result of a task/step
docstring_tokens: Add the given info to the current plan s results .