components/DbFixtureManager.php
public function checkIntegrity($check)
  {
    $db=$this->getDbConnection();
    foreach($this->schemas as $schema){
      $db->createCommand()->checkIntegrity($check,$schema)->execute();
    }
  }
public function checkIntegrity($check)
  {
    $db=$this->getDbConnection();
    foreach($this->schemas as $schema){
      $db->createCommand()->checkIntegrity($check,$schema)->execute();
    }
  }
public function checkIntegrity ( $ check ) { $ db = $ this -> getDbConnection ( ) ; foreach ( $ this -> schemas as $ schema ) { $ db -> createCommand ( ) -> checkIntegrity ( $ check , $ schema ) -> execute ( ) ; } }
Enables or disables database integrity check.
This method may be used to temporarily turn off foreign constraints check.
@param boolean $check whether to enable database integrity check
Enables or disables database integrity check . This method may be used to temporarily turn off foreign constraints check .