__construct() public méthode

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