jonassanoj / dbpro

DB Project 1
19 stars 1 forks source link

user_model: write and document get_userdata() #60

Closed tilman-schieber closed 12 years ago

tilman-schieber commented 12 years ago

line 41: This function should return the user object for the user with id $uid. Additionally to the data from the User table, it should contain the users category (userType) and field (fieldName). Create phpdoc for this function.

Note: you will also need to update the class' phpdoc.'

tilman-schieber commented 12 years ago

please only close the issue if you have successfully pushed it to the main branch!

tilman-schieber commented 12 years ago

your function version does not work:

Error Number: 1064 You have an error in your SQL syntax

next time use active record queries and try it out! Still you put some work in your documentation although it's very verbose with a lot of spelling mistakes.