diff options
Diffstat (limited to 'framework/Wsat/TWsatARGenerator.php')
-rw-r--r-- | framework/Wsat/TWsatARGenerator.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Wsat/TWsatARGenerator.php b/framework/Wsat/TWsatARGenerator.php index b05a6d96..da004b1f 100644 --- a/framework/Wsat/TWsatARGenerator.php +++ b/framework/Wsat/TWsatARGenerator.php @@ -136,8 +136,8 @@ class TWsatARGenerator extends TWsatBaseGenerator else { $properties = array(); - foreach ($tableInfo->getColumns() as $field => $column) - $properties[] = $this->generateProperty($field, $column); + foreach ($tableInfo->getColumns() as $field => $metadata) + $properties[] = $this->generateProperty($field, $metadata); $toString = $this->_buildSmartToString($tableInfo); } @@ -156,7 +156,7 @@ class TWsatARGenerator extends TWsatBaseGenerator //----------------------------------------------------------------------------- - protected function generateProperty($field, $column) + protected function generateProperty($field, $metadata) { $prop = ''; $name = '$' . $field; |