src/ORM/DataObject.php
public function writeComponents($recursive = false)
    {
        foreach ($this->components as $component) {
            $component->write(false, false, false, $recursive);
        }

        if ($join = $this->getJoin()) {
            $join->write(false, false, false, $recursive);
        }

        return $this;
    }
public function writeComponents($recursive = false)
    {
        foreach ($this->components as $component) {
            $component->write(false, false, false, $recursive);
        }

        if ($join = $this->getJoin()) {
            $join->write(false, false, false, $recursive);
        }

        return $this;
    }
public function writeComponents ( $ recursive = false ) { foreach ( $ this -> components as $ component ) { $ component -> write ( false , false , false , $ recursive ) ; } if ( $ join = $ this -> getJoin ( ) ) { $ join -> write ( false , false , false , $ recursive ) ; } return $ this ; }
Write the cached components to the database. Cached components could refer to two different instances of the
same record.

@param bool $recursive Recursively write components
@return DataObject $this
Write the cached components to the database . Cached components could refer to two different instances of the same record .