diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Tool/Project/Context/Zf/DbTableFile.php --- a/web/lib/Zend/Tool/Project/Context/Zf/DbTableFile.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Tool/Project/Context/Zf/DbTableFile.php Thu Mar 21 19:50:53 2013 +0100 @@ -15,9 +15,9 @@ * @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: DbTableFile.php 20851 2010-02-02 21:45:51Z ralph $ + * @version $Id: DbTableFile.php 24593 2012-01-05 20:35:02Z matthew $ */ /** @@ -28,16 +28,16 @@ * * @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 */ class Zend_Tool_Project_Context_Zf_DbTableFile extends Zend_Tool_Project_Context_Zf_AbstractClassFile { protected $_dbTableName = null; - + protected $_actualTableName = null; - + /** * getName() * @@ -59,7 +59,7 @@ $this->_filesystemName = ucfirst($this->_dbTableName) . '.php'; parent::init(); } - + public function getPersistentAttributes() { return array('dbTableName' => $this->_dbTableName); @@ -68,7 +68,7 @@ public function getContents() { $className = $this->getFullClassName($this->_dbTableName, 'Model_DbTable'); - + $codeGenFile = new Zend_CodeGenerator_Php_File(array( 'fileName' => $this->getPath(), 'classes' => array( @@ -82,11 +82,11 @@ 'defaultValue' => $this->_actualTableName )) ), - + )) ) )); return $codeGenFile->generate(); } - + }