\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() { }'));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy