where does one find the def for the db question object/class?

where does one find the def for the db question object/class?

написао/ла greg mushial -
Број одговора: 1

Which Moodle .php file contains the definition for the question object? (having just spent the last hour trying to find such from reading the code and the dev docs). Likewise, a couple weeks ago I stumbled across some comments per each (question) field - can anyone point me back there - the sequence of links I clicked to get there I can't find again.

sorry for having to ask the obvious, greg

У одговору на greg mushial

Re: where does one find the def for the db question object/class?

написао/ла Tim Hunt -
Слика Core developers Слика Documentation writers Слика Particularly helpful Moodlers Слика Peer reviewers Слика Plugin developers
There is no $question class. The $question variable is just a data structure. The question type classes are singleton objects - that is, there is one object for each question type, not one per question.

Is the documentation you are thinking of http://docs.moodle.org/en/Development:Quiz_database_structure