public function jQueryLinkToRemote($name, $url, $options = array(), $htmlOptions = array())
    {
        $htmlOptions['href'] = isset($htmlOptions['href']) ? $htmlOptions['href'] : '#';
        $htmlOptions['onclick'] = $this->jQueryRemoteFunction($url, $options) . '; return false;';

        return $this->util->tag('a', $htmlOptions, $name);
    }
public function jQueryLinkToRemote($name, $url, $options = array(), $htmlOptions = array())
    {
        $htmlOptions['href'] = isset($htmlOptions['href']) ? $htmlOptions['href'] : '#';
        $htmlOptions['onclick'] = $this->jQueryRemoteFunction($url, $options) . '; return false;';

        return $this->util->tag('a', $htmlOptions, $name);
    }
public function jQueryLinkToRemote ( $ name , $ url , $ options = array ( ) , $ htmlOptions = array ( ) ) { $ htmlOptions [ 'href' ] = isset ( $ htmlOptions [ 'href' ] ) ? $ htmlOptions [ 'href' ] : '#' ; $ htmlOptions [ 'onclick' ] = $ this -> jQueryRemoteFunction ( $ url , $ options ) . '; return false;' ; return $ this -> util -> tag ( 'a' , $ htmlOptions , $ name ) ; }
Returns a link to remote action defined by 'url'

@param string $name The link text
@param string $url The link url
@param array $options Options. See below
@param array $htmlOptions Html options
@return string

Available options:
- update: The result of that request can then be inserted into a DOM object whose id can be specified with 'update'
You can also specify a hash for 'update' to allow for easy redirection of output to an other DOM element if
a server-side error occurs  (success and failure)
- position: Optionally, you can use the 'position' parameter to influence how the target DOM element is updated.
It must be one of 'before', 'top', 'bottom', or 'after'. By default, it replaces the DOM element's content.
- loading: Loading callback
- complete: Complete callback
- success: Success callback
- script: Executes (or not) the code of the result (True / False)
- method: Method (POST / GET) (Default: POST)
- type: Asynchronously or not (Default: true)
- form: Serialize this form (and submit data) or not (Défault: false)
- submit: If defined, serialize this object (by Id) and submit data
- with: Addionnels parameters in request
- before: Called before request is initiated
- after: Called immediately after request was initiated and before 'loading'
- condition: Perform remote request conditionally by this expression. Use this to describe browser-side conditions
when request should not be initiated
- confirm: Adds confirmation dialog
- cancel: Code executed if callback defined in "confirm" option returns false
- cache: Request Cache (Default: false)
- crsf: [Not yet implemented]
Returns a link to remote action defined by url