Documentation
getQuery
usage
XML = Sushee_Shell->getQuery();
retourne
The complete xSushee query, with all the commands added through addCommand().
exemples
include_once('../sushee/common.php');
$shell = new Sushee_Shell();
$shell->addCommand(
'<SEARCH name="news">
<MEDIA mediatype="News"/>
</SEARCH>'
);
$shell->addCommand(
'<SEARCH name="sections">
<MEDIA mediatype="Section"/>
</SEARCH>'
);
if($_GET['debug']==true){
echo $shell->getQuery();
}
$shell->execute();