downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SAMConnection->send> <SAMConnection->remove
Last updated: Fri, 13 Nov 2009

view this page in

SAMConnection->rollback

(PECL sam >= 0.1.0)

SAMConnection->rollback 現在作業中の内容をキャンセル (ロールバック) する

説明

SAMConnection
bool rollback ( void )

現在作業中の内容をロールバックします。

返り値

このメソッドは、エラーが発生した場合に FALSE を返します。

例1 作業中の処理のキャンセル

<?php
if (!$conn->rollback()) {
  
// ロールバックに失敗しました!
  
echo "Rollback failed ($conn->errno$conn->error";
}
?>



add a note add a note User Contributed Notes
SAMConnection->rollback
There are no user contributed notes for this page.

SAMConnection->send> <SAMConnection->remove
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites