public function set_observer($observer) {
        $this->observer = $observer;
        foreach ($this->questionattempts as $qa) {
            $qa->set_observer($observer);
        }
    }
public function set_observer($observer) {
        $this->observer = $observer;
        foreach ($this->questionattempts as $qa) {
            $qa->set_observer($observer);
        }
    }
public function set_observer ( $ observer ) { $ this -> observer = $ observer ; foreach ( $ this -> questionattempts as $ qa ) { $ qa -> set_observer ( $ observer ) ; } }
You should almost certainly not call this method from your code. It is for
internal use only.
@param question_usage_observer that should be used to tracking changes made to this usage.
You should almost certainly not call this method from your code . It is for internal use only .