summaryrefslogtreecommitdiff
path: root/framework/Wsat/TWsatARGenerator.php
diff options
context:
space:
mode:
authorDaniel <darthdaniel85@gmail.com>2014-10-24 18:07:23 -0500
committerDaniel <darthdaniel85@gmail.com>2014-10-24 18:07:23 -0500
commit71f87188baad50c0adc56f8cae627869b4f5c30a (patch)
tree84b2bae09c4db03a5aaf51a9dad810b9454c43d0 /framework/Wsat/TWsatARGenerator.php
parenta7d2609ab842b9002c6225fb54462d416e0b9673 (diff)
Scaffolding 15%
Diffstat (limited to 'framework/Wsat/TWsatARGenerator.php')
-rw-r--r--framework/Wsat/TWsatARGenerator.php6
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;