FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
Comment_Model Class Reference
Inheritance diagram for Comment_Model:
ORM

Public Member Functions

 get_all_comments_by_comments_thread ($coments_thread_id)
 Returns all comments belongs to thread.
 get_all_comments_by_user ($user_id)
 Returns all comments of user.

Protected Attributes

 $belongs_to = array('comments_thread', 'user')

Member Function Documentation

Comment_Model::get_all_comments_by_comments_thread (   $coments_thread_id)

Returns all comments belongs to thread.

Author
Michal Kliment
Parameters
int$coments_thread_id
Returns
Mysql_Result
Comment_Model::get_all_comments_by_user (   $user_id)

Returns all comments of user.

Author
Michal Kliment
Parameters
integer$user_id
Returns
Mysql_Result

The documentation for this class was generated from the following file: