\Kendo\Data\DataSourceTransportBatch
A PHP class representing the batch setting of DataSourceTransport.
Methods
url
The odata-v4 batch endpoint to which the request is sent.If set to a function, the data source will invoke it and use the result as the URL.
Returns
\Kendo\Data\DataSourceTransportBatch
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$batch = new \Kendo\Data\DataSourceTransportBatch();
$batch->url('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$batch = new \Kendo\Data\DataSourceTransportBatch();
$batch->url(new \Kendo\JavaScriptFunction('function() { }'));
?>