db\ActiveRecord isTransactional()

isTransactional() public method

Returns a value indicating whether the specified operation is transactional in the current $scenario.

public boolean isTransactional ( $operation )
$operation integer

The operation to check. Possible values are OP_INSERT, OP_UPDATE and OP_DELETE.

return boolean

Whether the specified operation is transactional in the current $scenario.

doc_Yii
2016-10-30 16:56:21
Comments
Leave a Comment

Please login to continue.