diff options
author | wei <> | 2007-05-03 00:48:04 +0000 |
---|---|---|
committer | wei <> | 2007-05-03 00:48:04 +0000 |
commit | 1ae09931b2572d9c3067c99f841a60cb3330b3f3 (patch) | |
tree | 0b263b594bfa9c2bf5b37d2d565b4583f796bf2c /framework/prado-cli.php | |
parent | 24bdc94145c11744f624149a0dbdd10e3d5ca4cd (diff) |
Update active relations docs
Diffstat (limited to 'framework/prado-cli.php')
-rwxr-xr-x | framework/prado-cli.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/prado-cli.php b/framework/prado-cli.php index ca3e1461..3839e816 100755 --- a/framework/prado-cli.php +++ b/framework/prado-cli.php @@ -691,7 +691,6 @@ class PradoCommandLineActiveRecordGen extends PradoCommandLineAction { $prop .= <<<EOD - /** * @var $type $name * @soapproperty @@ -699,13 +698,13 @@ class PradoCommandLineActiveRecordGen extends PradoCommandLineAction EOD; } - $prop .= "\tpublic $name;\n"; + $prop .= "\tpublic $name;"; return $prop; } protected function generateClass($properties, $tablename, $class) { - $props = implode("\n", $properties); + $props = implode("\x0D\x0A", $properties); $date = date('Y-m-d h:i:s'); return <<<EOD <?php |