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