public function transactional($content)
{
$this->beginTransaction();
if (!$content)
{
$this->rollback();
}
$this->commit();
}
ICAgIHB1YmxpYyBmdW5jdGlvbiB0cmFuc2FjdGlvbmFsKCRjb250ZW50KQogICAgewogICAgICAgICR0aGlzLT5iZWdpblRyYW5zYWN0aW9uKCk7CiAgICAgICAgaWYgKCEkY29udGVudCkKICAgICAgICB7CiAgICAgICAgICAgICR0aGlzLT5yb2xsYmFjaygpOwogICAgICAgIH0KICAgICAgICAkdGhpcy0+Y29tbWl0KCk7CiAgICB9