WebTabSet for PHP
WebTabSet for PHP Documentation

This document is an API reference for the WebTabSet Library. It contains brief descriptions for the client-side and server-side properties, methods and events used by the control.

For demonstration of these APIs, you are encouraged to see the WebTabSet samples. They contain many interactive examples of their usage.

To place the WebTabSet control on your PHP page, follow these steps:

Here is a minimal PHP page with the control integrated and the relevant WebTabSet code highlighted:

<?php
    include 'Coalesys.WebObjectTree.php';
    $webTabSet1 = new Coalesys\WebTabSet\WebTabSet("WebTabSet1", $_REQUEST);
    $webTabSet1->addItem("hello, world");
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Sample Page</title>
    <script src="WebTabSet.js" type="text/javascript"></script>
    <link href="WebTabSet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form action="index.php" method="post">
    <div>
        <?php echo $webTabSet1->renderControl() ?>
        <div class="cwtsContent">
            <div class="cwtsContentBorder">your content here</div>
        </div>
    </div>
    </form>
</body>
</html>