protected function prepareDataForNewRecord(array &$data)
    {
        if ($this->testingFramework === null) {
            return;
        }

        $tableName = $this->getTableName();
        $this->testingFramework->markTableAsDirty($tableName);
        $data[$this->testingFramework->getDummyColumnName($tableName)] = 1;
    }
protected function prepareDataForNewRecord(array &$data)
    {
        if ($this->testingFramework === null) {
            return;
        }

        $tableName = $this->getTableName();
        $this->testingFramework->markTableAsDirty($tableName);
        $data[$this->testingFramework->getDummyColumnName($tableName)] = 1;
    }
protected function prepareDataForNewRecord ( array & $ data ) { if ( $ this -> testingFramework === null ) { return ; } $ tableName = $ this -> getTableName ( ) ; $ this -> testingFramework -> markTableAsDirty ( $ tableName ) ; $ data [ $ this -> testingFramework -> getDummyColumnName ( $ tableName ) ] = 1 ; }
Prepares the data for models that get newly inserted into the DB.

@param array $data the data of the record, will be modified

@return void
Prepares the data for models that get newly inserted into the DB .