/**
  * Class constructor. Defines the related database table name.
  *
  * @since 2.0.0
  * @access public
  */
 public function __construct()
 {
     parent::__construct('Comment');
     $this->pageCache = Gdn::cache()->activeEnabled() && c('Properties.CommentModel.pageCache', false);
     $this->fireEvent('AfterConstruct');
 }
Beispiel #2
0
 /**
  * Class constructor.
  */
 public function __construct()
 {
     parent::__construct('Comment');
     $this->FireEvent('AfterConstruct');
 }
 /**
  * Class constructor. Defines the related database table name.
  *
  * @since 2.0.0
  * @access public
  */
 public function __construct()
 {
     parent::__construct('Discussion');
 }
Beispiel #4
0
 /**
  * Class constructor. Defines the related database table name.
  *
  * @since 2.0.0
  * @access public
  */
 public function __construct()
 {
     parent::__construct('Draft');
 }
Beispiel #5
0
 /**
  * Class constructor.
  */
 public function __construct()
 {
     parent::__construct('Comment');
 }
Beispiel #6
0
 public function __construct()
 {
     parent::__construct('Media');
 }
 /**
  * Class constructor. Defines the related database table name.
  *
  * @since 2.0.0
  * @access public
  */
 public function __construct()
 {
     parent::__construct('Comment');
     $this->pageCache = Gdn::Cache()->ActiveEnabled() && C('Properties.CommentModel.pageCache', true);
     $this->FireEvent('AfterConstruct');
 }