改名
This commit is contained in:
+8
-7
@@ -122,20 +122,21 @@ class ' . $managerName . ' extends ActiveRecord
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if ($property->hasType()) {
|
||||||
|
$type = $property->getType() . ' $' . $key . ' = ' . $val . ';' . "\n";
|
||||||
|
} else {
|
||||||
|
$type = ' $' . $key . ' = ' . $val . ';' . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
if ($property->isStatic()) {
|
if ($property->isStatic()) {
|
||||||
$html .= '
|
$html .= '
|
||||||
' . $debug . ' static $' . $key . ' = ' . $val . ';' . "\n";
|
' . $debug . ' static ' . $type;
|
||||||
} else {
|
} else {
|
||||||
if ($key == 'primary') {
|
if ($key == 'primary') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ($property->hasType()) {
|
|
||||||
$html .= '
|
$html .= '
|
||||||
' . $debug . ' ' . $property->getType() . ' $' . $key . ' = ' . $val . ';' . "\n";
|
' . $debug . ' ' . $type;
|
||||||
} else {
|
|
||||||
$html .= '
|
|
||||||
' . $debug . ' $' . $key . ' = ' . $val . ';' . "\n";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user