Hi
Here's how it should be used:
getDocumentChildrenTVars
Returns a two-dimensional array containing the selected TVs of all the children of the document specified.
Usage:
getDocumentChildrenTVars($parentid=0, $tvidnames=array(), $published=1, $docsort="menuindex", $docsortdir="ASC", $tvfields="*", $tvsort="rank", $tvsortdir="ASC")
Example:
// get all the children of document id 10
$result = $etomite-> getDocumentChildrenTVars (10,array(“id”,”pagetitle”));
for ($i=0;$i<count($result);$i++) {
echo $result[$i][0][“name”]. “ = ” . $result[$i][0][“value”];
}