diff -r 000000000000 -r 4eba9c11703f web/Zend/Tool/Project/Context/System/ProjectProfileFile.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Tool/Project/Context/System/ProjectProfileFile.php Mon Dec 13 18:29:26 2010 +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; + } + +}