Пример #1
0
 /**
  * class Content::__construct
  */
 public function __construct()
 {
     parent::__construct();
     //TODO: move to constants
     $this->type = VIDEO;
     $this->is_html = 0;
 }
Пример #2
0
 public function __construct()
 {
     Logger::log("Enter: Event::__construct");
     parent::__construct();
     // Content
     $this->type = EVENT;
     $this->trackbacks = NULL;
     Logger::log("Exit: Event::__construct");
 }
Пример #3
0
 /**
  * class Content::__construct
  */
 public function __construct()
 {
     parent::__construct();
     //TODO: move to constants
     $this->type = QUESTION;
     $this->is_html = 0;
     $this->title = 'Question';
     $this->allow_comments = 1;
     $this->is_default_content = TRUE;
 }
Пример #4
0
 /**
  * class CNContent::__construct
  */
 public function __construct()
 {
     parent::__construct();
     //TODO: move to constants
     $this->type = 1;
 }