public function deleteAll() { $delete = $this->dsql(); $delete->owner->beginTransaction(); $this->hook('beforeDeleteAll', array($delete)); $delete->delete(); $this->hook('afterDeleteAll'); $delete->owner->commit(); $this->reset(); return $this; }