public static function ajaxButton($label, $url, $ajaxOptions = array(), $htmlOptions = array())
    {
        $ajaxOptions['url'] = $url;
        $htmlOptions['ajaxOptions'] = $ajaxOptions;
        return self::btn(self::BUTTON_TYPE_AJAXBUTTON, $label, $htmlOptions);
    }
public static function ajaxButton($label, $url, $ajaxOptions = array(), $htmlOptions = array())
    {
        $ajaxOptions['url'] = $url;
        $htmlOptions['ajaxOptions'] = $ajaxOptions;
        return self::btn(self::BUTTON_TYPE_AJAXBUTTON, $label, $htmlOptions);
    }
public static function ajaxButton ( $ label , $ url , $ ajaxOptions = array ( ) , $ htmlOptions = array ( ) ) { $ ajaxOptions [ 'url' ] = $ url ; $ htmlOptions [ 'ajaxOptions' ] = $ ajaxOptions ; return self :: btn ( self :: BUTTON_TYPE_AJAXBUTTON , $ label , $ htmlOptions ) ; }
Generates a push button that can initiate AJAX requests.
@param string $label the button label.
@param mixed $url the URL for the AJAX request.
@param array $ajaxOptions AJAX options.
@param array $htmlOptions additional HTML attributes.
@return string the generated button.
Generates a push button that can initiate AJAX requests .