Documentation
addCommand
usage
Sushee_shell->addCommand( string command );
paramètres
command : one xSushee command that will be executed once the execute method is called.
exemples
include_once('../sushee/common.php');
$shell = new Sushee_shell();
$shell->addCommand(
'<GET>
<CONTACT ID="1857"/>
</GET>'
);
$shell->addCommand(
'<GET>
<MEDIA ID="'.$_GET['ID'].'"/>
</GET>'
);
$shell->execute();