SimpleXMLIterator::getChildrenReturns the sub-elements of the current element Beschreibung
public SimpleXMLIterator SimpleXMLIterator::getChildren
( void
)
This method returns a SimpleXMLIterator object containing sub-elements of the current SimpleXMLIterator element. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteReturns a SimpleXMLIterator object containing the sub-elements of the current element. Beispiele
Beispiel #1 Return the sub-elements of the current element
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: The title is 'PHP Basics' from the class SimpleXMLIterator The author is 'Jim Smith' from the class SimpleXMLIterator |