svn: /pear/packages/DB_DataObject/trunk/DataObject/ Generator.php
| From: | Alan Knowles | Date: | Fri, 05 Mar 2010 23:58:54 +0000 |
| Subject: | svn: /pear/packages/DB_DataObject/trunk/DataObject/ Generator.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-59009@lists.php.net to get a copy of this message | ||
alan_k Fri, 05 Mar 2010 23:58:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295873
Log:
padding does not make any sense in this situation
Changed paths:
U pear/packages/DB_DataObject/trunk/DataObject/Generator.php
Modified: pear/packages/DB_DataObject/trunk/DataObject/Generator.php
===================================================================
--- pear/packages/DB_DataObject/trunk/DataObject/Generator.php 2010-03-05 23:55:59 UTC (rev 295872)
+++ pear/packages/DB_DataObject/trunk/DataObject/Generator.php 2010-03-05 23:58:54 UTC (rev 295873)
@@ -969,7 +969,7 @@
$body .= $this->derivedHookVar($t,$padding);
}
- $body .= $this->derivedHookPostVar($defs,$padding);
+ $body .= $this->derivedHookPostVar($defs);
// THIS IS TOTALLY BORKED old FC creation
// IT WILL BE REMOVED!!!!! in DataObjects 1.6
@@ -1126,11 +1126,10 @@
* lines
*
* @param array cols containing array of objects with type,len,flags etc. from tableInfo call
- * @param int padding number of spaces
* @access public
* @return string added to class eg. functions.
*/
- function derivedHookPostVar(&$t,$padding)
+ function derivedHookPostVar($t)
{
// This is so derived generator classes can generate variabels
// It MUST NOT be changed here!!!