function __construct($datas, $location_id)
 {
     parent::__construct();
     $this->db_event_name = __("Untitled", "emi");
     $this->hydrate($datas);
     $this->format_date();
     $this->event_attributes = 'a:1:{s:25:"custom_style_field_select";s:0:"";}';
     $this->db_event_owner = $this->get_current_user_id();
     $this->start = strtotime($this->db_event_start_date . " " . $this->db_event_start_time);
     $this->end = strtotime($this->db_event_end_date . " " . $this->db_event_end_time);
     $this->db_location_id = $location_id;
 }
 function __construct($datas)
 {
     parent::__construct();
     $this->hydrate($datas);
 }
 function __construct()
 {
     parent::__construct();
     $this->checkEventManager();
 }
 function __construct($post_id)
 {
     parent::__construct();
     $this->set_post_att($post_id);
 }