__construct() public method

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