id = (int) $id; $this->content_id = (int) $content_id; $this->timestamp = (int) $timestamp; $this->type = (string) $type; $this->format = (string) $format; $this->translatable = (bool) $is_translatable; $this->data = (string) $data; $this->data_translated = (bool) $data_translated; $this->finished = (bool) $finished; } /** * @return int */ public function get_id() { return $this->id; } /** * @return int */ public function get_content_id() { return $this->content_id; } /** * @return int */ public function get_timestamp() { return $this->timestamp; } /** * @return string */ public function get_type() { return $this->type; } /** * @return string */ public function get_format() { return $this->format; } /** * @return bool */ public function is_translatable() { return $this->translatable; } /** * @return string */ public function get_data() { return $this->data; } /** * @return string */ public function get_data_translated() { return $this->data_translated; } /** * @return bool */ public function is_finished() { return $this->finished; } }