PHP Classes

File: support/tools/testd

Recommend this page to a friend!
  Classes of Daniele Orlando   FluidXML   support/tools/testd   Download  
File: support/tools/testd
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: FluidXML
Manipulate XML documents using a fluent interface
Author: By
Last change: Improvements when dealing with DOMDocument/SimpleXMLElement.

* ::load() supports more inputs like DOMNode/DOMNodeList/FluidXml
* ->xml() accepts a boolean flag to remove the XML declaration headers
* ->xml() can be called on any node
* ->cdata() was missing from APIs.md
* ->appendXml() is a lot smarter now, supporting:
- DOMDocument
- DOMNode
- DOMNodeList
- SimpleXMLElement
- FluidXml
- XML string with or without the XML declaration headers
Date: 8 years ago
Size: 364 bytes
 

Contents

Class file image Download
#!/usr/bin/env sh cd "$(dirname "$0")" . "./.common.sh" cd ../.. tester="./support/tools/testv" test_handler() { "$tester" || true while read -d '' e; do ## test -f skips a file descriptor written by vim. test -f "$e" && "$tester" || true done } watch "specs/" "source/" | dsstore_filter | test_handler