DOMIT! v 0.1 Tutorial
<<    index    >>
1    2    3    4    5    6    7    8    9    10    11    12    13    14    15   
16    17    18    19    20    21    22    23    24    25    26   
appendNode

Now that we've created a new cd node, we can add it to the existing DOMIT_Document using the appendNode method of a node. As the method name implies, appendNode will add a node to the end of a childNodes chain. Appending the new cd node to the cdLibrary node can therefore be done like this:

$cdCollection->documentElement->appendNode($newCDNode);


Documentation generated by ClassyDoc, using the DOMIT! and SAXY parsers.
Please visit Engage Interactive to download free copies.