tags. * @param string|array|null $url URL or array of URL parameters, or * external URL (starts with http://) * @param array $options Array of options and HTML attributes. * @return string An `` element. */ public function resetLink($title, $url = null, array $options = []) { if (is_array($url)) { $url += ['prefix' => false, 'plugin' => false]; } return parent::link($title, $url, $options); } /** * Keep query string params for pagination/filter for this link, * e.g. after edit action. * * ### Options * * - `escape` Set to false to disable escaping of title and attributes. * - `escapeTitle` Set to false to disable escaping of title. Takes precedence * over value of `escape`) * - `confirm` JavaScript confirmation message. * * @param string $title The content to be wrapped by tags. * @param string|array|null $url URL or array of URL parameters, or * external URL (starts with http://) * @param array $options Array of options and HTML attributes. * @return string An `` element. * @return string Link */ public function completeLink($title, $url = null, array $options = []) { if (is_array($url)) { // Add query strings if (!isset($url['?'])) { $url['?'] = []; } $url['?'] += $this->request->query; } return parent::link($title, $url, $options); } /** * Event listeners. * * @return array */ public function implementedEvents() { return []; } }