diff --git a/tests/web/webDocument.php b/tests/web/webDocument.php new file mode 100644 index 0000000..276c5c3 --- /dev/null +++ b/tests/web/webDocument.php @@ -0,0 +1,26 @@ +owl_fs_root/lib/web/WebDocument.inc"); + + $oWebDocument = & new WebDocument(1, 1, 1, 1, getCurrentDateTime()); + echo "Create ? " . ($oWebDocument->create() ? "Yes" : "No") . "
"; + $oWebDocument = & new WebDocument(1, 1, 1, 1, getCurrentDateTime()); + $oWebDocument->create(); + echo "Update ? " . ($oWebDocument->update() ? "Yes" : "No") . "
"; + echo "Delete ? " . ($oWebDocument->delete() ? "Yes" : "No") . "
"; + $oNewDocumentField = WebDocument::get(1); + echo "Get ?
" . var_dump($oNewDocumentField) . "
"; +} + +?>