summaryrefslogtreecommitdiff
path: root/framework/prado-cli.php
diff options
context:
space:
mode:
authorwei <>2007-05-03 00:48:04 +0000
committerwei <>2007-05-03 00:48:04 +0000
commit1ae09931b2572d9c3067c99f841a60cb3330b3f3 (patch)
tree0b263b594bfa9c2bf5b37d2d565b4583f796bf2c /framework/prado-cli.php
parent24bdc94145c11744f624149a0dbdd10e3d5ca4cd (diff)
Update active relations docs
Diffstat (limited to 'framework/prado-cli.php')
-rwxr-xr-xframework/prado-cli.php5
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