\Kendo\UI\DockManager
A PHP wrapper for Kendo UI DockManager.
Inherits from \Kendo\UI\Widget.
Usage
To use DockManager in a PHP page instantiate a new instance, configure it via the available
configuration methods and output it by echo
-ing the result of the render method.
Using Kendo DockManager
<?php
// Create a new instance of DockManager and specify its id
$dockManager = new \Kendo\UI\DockManager('DockManager');
// Configure it
$dockManager->rootPane(new \Kendo\UI\DockManagerRootPane())
// Output it
echo $dockManager->render();
?>
Methods
close
Triggered when the pane is closed. For additional information check the close event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->close('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onClose(e) {
// handle the close event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->close('onClose');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->close(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
dock
Triggered when a pane is docked. For additional information check the dock event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dock('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onDock(e) {
// handle the dock event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dock('onDock');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dock(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
drag
Triggered when a pane is dragged. For additional information check the drag event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->drag('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onDrag(e) {
// handle the drag event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->drag('onDrag');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->drag(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
dragEnd
For additional information check the dragEnd event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dragEnd('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onDragEnd(e) {
// handle the dragEnd event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dragEnd('onDragEnd');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dragEnd(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
dragStart
Triggered when item drag starts. For additional information check the dragStart event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dragStart('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onDragStart(e) {
// handle the dragStart event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dragStart('onDragStart');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->dragStart(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
innerDock
Triggered when a pane is docked in the current pane. For additional information check the innerDock event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->innerDock('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onInnerDock(e) {
// handle the innerDock event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->innerDock('onInnerDock');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->innerDock(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
pin
Triggered when a pane is pinned. For additional information check the pin event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->pin('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onPin(e) {
// handle the pin event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->pin('onPin');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->pin(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
resize
Triggered when a pane is resized. For additional information check the resize event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->resize('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onResize(e) {
// handle the resize event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->resize('onResize');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->resize(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
rootPane
Defines the root pane configuration.
Returns
\Kendo\UI\DockManager
Parameters
$value \Kendo\UI\DockManagerRootPane|array
Example - using \Kendo\UI\DockManagerRootPane
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$rootPane = new \Kendo\UI\DockManagerRootPane();
$id = 'value';
$rootPane->id($id);
$dockManager->rootPane($rootPane);
?>
Example - using array
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$id = 'value';
$dockManager->rootPane(array('id' => $id));
?>
unpin
Triggered when a pane is unpinned. For additional information check the unpin event documentation.
Returns
\Kendo\UI\DockManager
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->unpin('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onUnpin(e) {
// handle the unpin event.
}
</script>
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->unpin('onUnpin');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$dockManager = new \Kendo\UI\DockManager('DockManager');
$dockManager->unpin(new \Kendo\JavaScriptFunction('function(e) { }'));
?>