_id = $id; assert($actionRequest instanceof LinkActionRequest); $this->_actionRequest = $actionRequest; $this->_title = $title; $this->_image = $image; $this->_toolTip = $toolTip; Hook::call('LinkAction::construct', [$this]); } // // Getters and Setters // /** * Get the action id. * * @return string */ public function getId() { return $this->_id; } /** * Get the action handler. * * @return LinkActionRequest */ public function getActionRequest() { return $this->_actionRequest; } /** * Get the localized action title. * * @return string */ public function getTitle() { return $this->_title; } /** * Set the localized action title. */ public function setTitle($title) { $this->_title = $title; } /** * Get the localized tool tip. * * @return string */ public function getToolTip() { return $this->_toolTip; } /** * Get the action image. * * @return string */ public function getImage() { return $this->_image; } } if (!PKP_STRICT_MODE) { class_alias('\PKP\linkAction\LinkAction', '\LinkAction'); }