public function getNewGhost()
    {
        $model = $this->createGhost($this->map->getNewUid());
        $this->registerModelAsMemoryOnlyDummy($model);

        return $model;
    }
public function getNewGhost()
    {
        $model = $this->createGhost($this->map->getNewUid());
        $this->registerModelAsMemoryOnlyDummy($model);

        return $model;
    }
public function getNewGhost ( ) { $ model = $ this -> createGhost ( $ this -> map -> getNewUid ( ) ) ; $ this -> registerModelAsMemoryOnlyDummy ( $ model ) ; return $ model ; }
Creates a new registered ghost with a UID that has not been used in this
data mapper yet.

Important: As this ghost's UID has nothing to do with the real UIDs in
the database, this ghost must not be loaded or saved.

@return \Tx_Oelib_Model a new ghost
Creates a new registered ghost with a UID that has not been used in this data mapper yet .