diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Tool/Project/Context/System/ProjectProfileFile.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Tool/Project/Context/System/ProjectProfileFile.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,118 @@ +_profile = $profile; + return $this; + } + + /** + * save() + * + * Proxy to create + * + * @return Zend_Tool_Project_Context_System_ProjectProfileFile + */ + public function save() + { + parent::create(); + return $this; + } + + /** + * getContents() + * + * @return string + */ + public function getContents() + { + $parser = new Zend_Tool_Project_Profile_FileParser_Xml(); + $profile = $this->_resource->getProfile(); + $xml = $parser->serialize($profile); + return $xml; + } + +}