Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 86... Línea 86...
86
     * Create a default options object for the provided question.
86
     * Create a default options object for the provided question.
87
     *
87
     *
88
     * @param object $question The queston we are working with.
88
     * @param object $question The queston we are working with.
89
     * @return object The options object.
89
     * @return object The options object.
90
     */
90
     */
91
    protected function create_default_options($question) {
91
    public function create_default_options($question) {
92
        // Create a default question options record.
92
        // Create a default question options record.
93
        $options = new stdClass();
93
        $options = new stdClass();
94
        $options->questionid = $question->id;
94
        $options->questionid = $question->id;
Línea 95... Línea 95...
95
 
95