text = $text; $this->url = $url; $this->dismiss = $dismiss; $this->hide = $hide; $this->display_as_button = $display_as_button; $this->dismiss_different_text = $dismiss_different_text; } public function get_text() { return $this->text; } public function get_url() { return $this->url; } public function can_dismiss() { return $this->dismiss; } public function can_dismiss_different_text() { return $this->dismiss_different_text; } public function can_hide() { return $this->hide; } public function must_display_as_button() { return $this->display_as_button; } public function set_group_to_dismiss( $group_name ) { $this->group_to_dismiss = $group_name; } public function get_group_to_dismiss() { return $this->group_to_dismiss; } public function set_js_callback( $js_callback ) { $this->js_callback = $js_callback; } public function get_js_callback() { return $this->js_callback; } /** * @return mixed */ public function get_link_target() { return $this->link_target; } /** * @param mixed $link_target */ public function set_link_target( $link_target ) { $this->link_target = $link_target; } }