src/Core/Result.php
public function setNote($note)
    {
        global $CFG;
        $PDOX = $this->launch->pdox;

        $stmt = $PDOX->queryDie(
            "UPDATE {$CFG->dbprefix}lti_result SET note = :note, updated_at = NOW()
                WHERE result_id = :RID",
            array(
                ':note' => $note,
                ':RID' => $this->id)
        );
    }
public function setNote($note)
    {
        global $CFG;
        $PDOX = $this->launch->pdox;

        $stmt = $PDOX->queryDie(
            "UPDATE {$CFG->dbprefix}lti_result SET note = :note, updated_at = NOW()
                WHERE result_id = :RID",
            array(
                ':note' => $note,
                ':RID' => $this->id)
        );
    }
public function setNote ( $ note ) { global $ CFG ; $ PDOX = $ this -> launch -> pdox ; $ stmt = $ PDOX -> queryDie ( "UPDATE {$CFG->dbprefix}lti_result SET note = :note, updated_at = NOW()
                WHERE result_id = :RID" , array ( ':note' => $ note , ':RID' => $ this -> id ) ) ; }
Set the Note for this result
Set the Note for this result