public function storeWebfilesFromStream(MWebfileStream $webfileStream)
    {

        if ($this->isReadOnly()) {
            throw new MDatastoreException("cannot modify data on read-only datastore.");
        }

        $webfiles = $webfileStream->getWebfiles();
        foreach ($webfiles as $webfile) {
            $this->storeWebfile($webfile);
        }
    }
public function storeWebfilesFromStream(MWebfileStream $webfileStream)
    {

        if ($this->isReadOnly()) {
            throw new MDatastoreException("cannot modify data on read-only datastore.");
        }

        $webfiles = $webfileStream->getWebfiles();
        foreach ($webfiles as $webfile) {
            $this->storeWebfile($webfile);
        }
    }
public function storeWebfilesFromStream ( MWebfileStream $ webfileStream ) { if ( $ this -> isReadOnly ( ) ) { throw new MDatastoreException ( "cannot modify data on read-only datastore." ) ; } $ webfiles = $ webfileStream -> getWebfiles ( ) ; foreach ( $ webfiles as $ webfile ) { $ this -> storeWebfile ( $ webfile ) ; } }
Stores all webfiles from a given webfilestream in the actual datastore

@param MWebfileStream $webfileStream
@throws MDatastoreException
Stores all webfiles from a given webfilestream in the actual datastore