Beispiel #1
0
 function __construct($post_id = null)
 {
     parent::__construct(DB::table('postinfo'), "post_id", $post_id);
     // call parent with appropriate  parameters
 }
Beispiel #2
0
 function __construct($comment_id = NULL)
 {
     parent::__construct(DB::table('commentinfo'), 'comment_id', $comment_id);
     // call parent with appropriate  parameters
 }
Beispiel #3
0
 function __construct($user_id = null)
 {
     // call parent with appropriate  parameters
     parent::__construct(DB::table('userinfo'), 'user_id', $user_id);
 }
Beispiel #4
0
 function __construct($term_id = null)
 {
     parent::__construct(DB::table('terminfo'), 'term_id', $term_id);
     // call parent with appropriate  parameters
 }