Пример #1
0
 /**
  * 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');
 }
Пример #2
0
 /**
  * Class constructor.
  */
 public function __construct()
 {
     parent::__construct('Comment');
     $this->FireEvent('AfterConstruct');
 }
Пример #3
0
 /**
  * Class constructor. Defines the related database table name.
  *
  * @since 2.0.0
  * @access public
  */
 public function __construct()
 {
     parent::__construct('Discussion');
 }
Пример #4
0
 /**
  * Class constructor. Defines the related database table name.
  *
  * @since 2.0.0
  * @access public
  */
 public function __construct()
 {
     parent::__construct('Draft');
 }
Пример #5
0
 /**
  * Class constructor.
  */
 public function __construct()
 {
     parent::__construct('Comment');
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct('Media');
 }
Пример #7
0
 /**
  * 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');
 }