Class

AjaxRequest

Package: Ajax Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2015 01 06 Since: PHPBoost 3.0 - 2010 10 31 Contributor: Kevin MASSY reidlos@phpboost.com Located at: ajax/AjaxRequest.class.php
AjaxRequest implements View
Methods summary
public
# __construct( $target, $onsuccess, $onfailure = null )
public
# set_target( $target )
public
# set_method( $method )
public
# set_success_callback( $onsuccess )
public
# set_failure_callback( $onfailure = null )
public
# add_event_callback( $event, $callback )
public
# add_param( $key, $value )
public string
# render( )

Returns a string representation of the view.

Constants summary
string GET
# 'get'
string POST
# 'post'
string BEFORE_SEND
# 'beforeSend'
string AJAX_SEND
# 'ajaxSend'
string SUCCESS
# 'success'
string AJAX_SUCCESS
# 'ajaxSuccess'
string ERROR
# 'error'
string AJAX_ERROR
# 'ajaxError'
string COMPLETE
# 'complete'
string AJAX_COMPLETE
# 'ajaxComplete'
Annonces