改名
This commit is contained in:
@@ -178,6 +178,9 @@ abstract class GiiBase
|
|||||||
|
|
||||||
foreach ($class->getDefaultProperties() as $key => $val) {
|
foreach ($class->getDefaultProperties() as $key => $val) {
|
||||||
$property = $class->getProperty($key);
|
$property = $class->getProperty($key);
|
||||||
|
if ($key == 'primary' || $key == 'table' || $key == 'connection' || $key == 'rules') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if ($property->class != $class->getName()) continue;
|
if ($property->class != $class->getName()) continue;
|
||||||
if (is_array($val)) {
|
if (is_array($val)) {
|
||||||
$val = '[\'' . implode('\', \'', $val) . '\']';
|
$val = '[\'' . implode('\', \'', $val) . '\']';
|
||||||
@@ -201,9 +204,6 @@ abstract class GiiBase
|
|||||||
$html .= '
|
$html .= '
|
||||||
' . $debug . ' static' . $type;
|
' . $debug . ' static' . $type;
|
||||||
} else {
|
} else {
|
||||||
if ($key == 'primary' || $key == 'table' || $key == 'connection' || $key == 'rules') {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
$html .= '
|
$html .= '
|
||||||
' . $debug . $type;
|
' . $debug . $type;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user