collectionName = $collectionName; $this->saveableObject = $saveableObject; } /** * (non-PHPdoc) * @see DaoSaveable::getSaveableObj() */ public function getSaveableObj(){ return $this->saveableObject; } /** * (non-PHPdoc) * @see DaoSaveable::getCollectionName() */ public function getCollectionName(){ return $this->collectionName; } /** * (non-PHPdoc) * @see DaoSaveable::buildFromSaveableObj() */ public function buildFromSaveableObj($collectionName, $saveableObject){ return new static($collectionName, $saveableObject); } /** * (non-PHPdoc) * @see DaoSaveable::updateFromSaveableObj() */ public function updateFromSaveableObj($obj){ $this->saveableObject = $obj; } } ?>