__construct() 공개 메소드

Class constructor. Defines the related database table name.
부터: 2.0.0
public __construct ( )
예제 #1
0
 function __construct($id = 0)
 {
     parent::__construct('bookmarks_comments', 'bookmark_id', $id);
 }
예제 #2
0
 function __construct($id = 0)
 {
     parent::__construct('social_comments', 'social_pos_id', $id);
 }
예제 #3
0
 function __construct($id = 0)
 {
     parent::__construct('blog_comment', 'blog_id', $id);
 }
예제 #4
0
 function __construct($id = 0)
 {
     parent::__construct('photo_comment', 'photo_id', $id);
 }
예제 #5
0
 function __construct($id = 0)
 {
     parent::__construct('answers', 'question_id', $id);
     //$this->tableName = 'answers';
 }
예제 #6
0
 function __construct($id = 0)
 {
     parent::__construct('article_comment', 'article_id', $id);
 }