diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Tool/Project/Context/Zf/AbstractClassFile.php --- a/web/lib/Zend/Tool/Project/Context/Zf/AbstractClassFile.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Tool/Project/Context/Zf/AbstractClassFile.php Thu Mar 21 19:50:53 2013 +0100 @@ -15,12 +15,17 @@ * @category Zend * @package Zend_Tool * @subpackage Framework - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: AbstractClassFile.php 23417 2010-11-20 16:24:35Z ramon $ + * @version $Id: AbstractClassFile.php 24593 2012-01-05 20:35:02Z matthew $ */ /** + * Zend_Tool_Project_Context_Filesystem_File + */ +require_once 'Zend/Tool/Project/Context/Filesystem/File.php'; + +/** * This class is the front most class for utilizing Zend_Tool_Project * * A profile is a hierarchical set of resources that keep track of @@ -28,7 +33,7 @@ * * @category Zend * @package Zend_Tool - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ abstract class Zend_Tool_Project_Context_Zf_AbstractClassFile extends Zend_Tool_Project_Context_Filesystem_File @@ -37,8 +42,8 @@ /** * getFullClassName() * - * @param $localClassName - * @param $classContextName + * @param string $localClassName + * @param string $classContextName */ public function getFullClassName($localClassName, $classContextName = null) { @@ -62,7 +67,8 @@ $prefix = $containingResource->getAttribute('classNamePrefix'); $fullClassName = $prefix; } elseif ($containingResource->getName() == 'ModuleDirectory') { - $prefix = ucfirst($containingResource->getAttribute('moduleName')) . '_'; + $filter = new Zend_Filter_Word_DashToCamelCase(); + $prefix = $filter->filter(ucfirst($containingResource->getAttribute('moduleName'))) . '_'; $fullClassName = $prefix; } }