english/components/com_weblinks/controllers/weblink.php
/**
	 * Method to cancel an edit.
	 *
	 * @param	string	$key	The name of the primary key of the URL variable.
	 *
	 * @return	Boolean	True if access level checks pass, false otherwise.
	 * @since	1.6
	 */
Method to cancel an edit.
@param       string  $key    The name of the primary key of the URL variable.

@return      Boolean True if access level checks pass, false otherwise.
Method to cancel an edit . @param string $key The name of the primary key of the URL variable . @return Boolean True if access level checks pass false otherwise .
public function cancel($key = 'w_id')
	{
		parent::cancel($key);
		$this->setRedirect($this->getReturnPage());
	}
public function cancel ( $ key = 'w_id' ) { parent :: cancel ( $ key ) ; $ this -> setRedirect ( $ this -> getReturnPage ( ) ) ; }
Method to cancel an edit.
Method to cancel an edit .
// Redirect to the return page.