jonassanoj / dbpro

DB Project 1
19 stars 1 forks source link

controller/main: implement and document field() function #66

Closed tilman-schieber closed 12 years ago

tilman-schieber commented 12 years ago

line 102: implement field($fid,$offset). It should display a paginated view of all the questions that belong to categories in a field. use the already documented $filter feature of the question_model. The behaviour and look of the question list should be like the questions() function. So you only need to make changes in the body of this function.

document it phpdoc style (see the other controller functions)

tilman-schieber commented 12 years ago

Note: the possibility to retrieve a field might not be implemented yet in the database model. This does not matter as you can just call the function with the option array anyway and test the functionality.

tilman-schieber commented 12 years ago

the function works and is well documented. Some small issues in documentation and code had to be corrected