CakePHP Cookbook 2.x
is OPTIONS. is('ajax') Check to see whether the current request came with X-Requested- With = XMLHttpRequest. is('ssl') Check to see whether the request is via SSL is('flash') Check to see whether the request }); JsHelper::request($url, $options = array()) Generate a JavaScript snippet to create an XmlHttpRequest or ‘AJAX’ request. Event Options complete - Callback to fire on complete. success - Callback JsHelper::submit($caption = null, $options = array()) Create a submit input button that enables XmlHttpRequest submitted forms. Options can include both those for FormHelper::submit() and JsBaseEngine::request()0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
OPTIONS. • is('ajax') Check to see whether the current request came with X-Requested-With = XMLHttpRequest. • is('ssl') Check to see whether the request is via SSL • is('flash') Check to see whether }); JsHelper::request($url, $options = array()) Generate a JavaScript snippet to create an XmlHttpRequest or ‘AJAX’ request. Event Options • complete - Callback to fire on complete. • success - Callback JsHelper::submit($caption = null, $options = array()) Create a submit input button that enables XmlHttpRequest submitted forms. Options can include both those for FormHelper::submit() and JsBaseEngine::request()0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook Documentation 5.xis OPTIONS. is('ajax') Check to see whether the current request came with X-Requested- With = XMLHttpRequest. is('ssl') Check to see whether the request is via SSL. is('flash') Check to see whether the $http->get('http://example.com/search', ['q' => 'widget'], [ 'headers' => ['X-Requested-With' => 'XMLHttpRequest'], ]); Doing POST and PUT requests is equally simple: // Send a POST request with applica0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xRelease 5.x • is('ajax') Check to see whether the current request came with X-Requested-With = XMLHttpRequest. • is('ssl') Check to see whether the request is via SSL. • is('flash') Check to see whether $http->get('http://example.com/search', ['q' => 'widget'], [ 'headers' => ['X-Requested-With' => 'XMLHttpRequest'], ]); Doing POST and PUT requests is equally simple: // Send a POST request with applicat0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 3.x
is OPTIONS. is('ajax') Check to see whether the current request came with X-Requested- With = XMLHttpRequest. is('ssl') Check to see whether the request is via SSL. is('flash') Check to see whether the $http->get('http://example.com/search', ['q' => 'widget'], [ 'headers' => ['X-Requested-With' => 'XMLHttpRequest'] ]); Doing POST and PUT requests is equally simple: // Send a POST request with applicat0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
OPTIONS. • is('ajax') Check to see whether the current request came with X-Requested-With = XMLHttpRequest. • is('ssl') Check to see whether the request is via SSL. • is('flash') Check to see whether $http->get('http://example.com/search', ['q' => 'widget'], [ 'headers' => ['X-Requested-With' => 'XMLHttpRequest'] ]); Doing POST and PUT requests is equally simple: 887 CakePHP Cookbook Documentation, Release0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
is OPTIONS. is('ajax') Check to see whether the current request came with X-Requested- With = XMLHttpRequest. is('ssl') Check to see whether the request is via SSL. is('flash') Check to see whether the $http->get('http://example.com/search', ['q' => 'widget'], [ 'headers' => ['X-Requested-With' => 'XMLHttpRequest'] ]); Doing POST and PUT requests is equally simple: // Send a POST request with applicat0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
OPTIONS. • is('ajax') Check to see whether the current request came with X-Requested-With = XMLHttpRequest. • is('ssl') Check to see whether the request is via SSL. • is('flash') Check to see whether $http->get('http://example.com/search', ['q' => 'widget'], [ 'headers' => ['X-Requested-With' => 'XMLHttpRequest'] ]); Doing POST and PUT requests is equally simple: // Send a POST request with applicati0 码力 | 967 页 | 2.88 MB | 1 年前3
共 8 条
- 1













