import v1.1.0_RC2 | 2009-09-20

This commit is contained in:
2019-07-17 22:19:00 +02:00
parent 3b7ba80568
commit 38c146901c
2504 changed files with 101817 additions and 62316 deletions

View File

@ -17,7 +17,7 @@
* @subpackage Framework
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id$
* @version $Id: Repository.php 16972 2009-07-22 18:44:24Z ralph $
*/
/**
@ -256,6 +256,9 @@ class Zend_Tool_Framework_Provider_Repository
{
$className = get_class($provider);
$providerName = substr($className, strrpos($className, '_')+1);
if (substr($providerName, -8) == 'Provider') {
$providerName = substr($providerName, 0, strlen($providerName)-8);
}
return $providerName;
}