/** * Send a text, flush and close dialog * * @var string $text : the text to send * @access public */ function sendAndClose($text) { CMS_LoadingDialog::sendToUser($text); CMS_LoadingDialog::closeDialog(); }