Просмотр исходного кода

ZF-8845
- Fixed persistence of classNamePrefix in Zend_Tool_Project applicationDirectory context

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20633 44c647ce-9c0f-0410-b52a-842ac1e357ba

ralph 16 лет назад
Родитель
Сommit
8ae3099153
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      library/Zend/Tool/Project/Context/Zf/ApplicationDirectory.php

+ 6 - 0
library/Zend/Tool/Project/Context/Zf/ApplicationDirectory.php

@@ -43,6 +43,12 @@ class Zend_Tool_Project_Context_Zf_ApplicationDirectory extends Zend_Tool_Projec
 
     protected $_classNamePrefix = 'Application_';
     
+    public function init()
+    {
+        $this->_classNamePrefix = $this->_resource->getAttribute('classNamePrefix');
+        parent::init();
+    }
+    
     /**
      * getPersistentAttributes
      *