Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
db
Transaction
getIsActive
yii\db\Transaction::getIsActive PHP Method
Transaction Class Documentation
ファイルを表示
Open project: yiisoft/yii2
getIsActive()
public
method
Returns a value indicating whether this transaction is active.
public
getIsActive
( ) :
boolean
return
boolean
whether this transaction is active. Only an active transaction can [[commit()]] or [[rollBack()]].
public function getIsActive() { return $this->_level > 0 && $this->db && $this->db->isActive; }
Transaction
begin
commit
getIsActive
getLevel
rollBack
setIsolationLevel