diff -r 000000000000 -r 4eba9c11703f web/Zend/Tool/Project/Context/Zf/ApplicationDirectory.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Tool/Project/Context/Zf/ApplicationDirectory.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,81 @@ +_resource->hasAttribute('classNamePrefix')) { + $this->_classNamePrefix = $this->_resource->getAttribute('classNamePrefix'); + } + parent::init(); + } + + /** + * getPersistentAttributes + * + * @return array + */ + public function getPersistentAttributes() + { + return array( + 'classNamePrefix' => $this->getClassNamePrefix() + ); + } + + public function getName() + { + return 'ApplicationDirectory'; + } + + public function setClassNamePrefix($classNamePrefix) + { + $this->_classNamePrefix = $classNamePrefix; + } + + public function getClassNamePrefix() + { + return $this->_classNamePrefix; + } + +}