/** * @return bool */ protected function beforeValidate() { $this->can_send_event_from_js = (int) $this->can_send_event_from_js; $this->can_send_event_from_php = (int) $this->can_send_event_from_php; return parent::beforeValidate(); }
/** * @return bool */ protected function beforeValidate() { $this->can_send_event_from_js = (int) $this->can_send_event_from_js; $this->can_send_event_from_php = (int) $this->can_send_event_from_php; return parent::beforeValidate(); }