original_string: public function load_outcome() {
          if (!empty($this->outcomeid)) {
              $this->outcome = grade_outcome::fetch(array('id'=>$this->outcomeid));
          }
          return $this->outcome;
      }
code: public function load_outcome() {
          if (!empty($this->outcomeid)) {
              $this->outcome = grade_outcome::fetch(array('id'=>$this->outcomeid));
          }
          return $this->outcome;
      }
code_tokens: public function load_outcome ( ) { if ( ! empty ( $ this -> outcomeid ) ) { $ this -> outcome = grade_outcome :: fetch ( array ( 'id' => $ this -> outcomeid ) ) ; } return $ this -> outcome ; }
docstring: Instantiates a grade_outcome object from the DB if this item's outcomeid variable is set
  
  @return grade_outcome This grade item's associated grade_outcome or null
docstring_tokens: Instantiates a grade_outcome object from the DB if this item s outcomeid variable is set