dbmsv2 init...1
This commit is contained in:
parent
24ad28b024
commit
93e82b1104
@ -238,7 +238,7 @@ class CommonHelper
|
|||||||
foreach ($attributes as $attribute_tag => $attribute_value) {
|
foreach ($attributes as $attribute_tag => $attribute_value) {
|
||||||
$attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $attribute_value);
|
$attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $attribute_value);
|
||||||
}
|
}
|
||||||
$title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "사용중." : "";
|
$title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "서비스중." : "";
|
||||||
$title .= $entity->getCustomTitle();
|
$title .= $entity->getCustomTitle();
|
||||||
$html .= sprintf("<option value=\"%s\"%s%s%s>%s</option>", $key, $isSelected, $isDisabled, $attribute, $title);
|
$html .= sprintf("<option value=\"%s\"%s%s%s>%s</option>", $key, $isSelected, $isDisabled, $attribute, $title);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,7 +29,7 @@ class ServiceHelper extends CustomerHelper
|
|||||||
foreach ($attributes as $attribute_tag => $attribute_value) {
|
foreach ($attributes as $attribute_tag => $attribute_value) {
|
||||||
$attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $entity instanceof ServerEntity ? $entity->$attribute_value() : $attribute_value);
|
$attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $entity instanceof ServerEntity ? $entity->$attribute_value() : $attribute_value);
|
||||||
}
|
}
|
||||||
$title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "사용중." : "";
|
$title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "서비스중." : "";
|
||||||
$title .= $entity->getCustomTitle();
|
$title .= $entity->getCustomTitle();
|
||||||
$html .= sprintf("<option value=\"%s\"%s%s%s>%s</option>", $key, $isSelected, $isDisabled, $attribute, $title);
|
$html .= sprintf("<option value=\"%s\"%s%s%s>%s</option>", $key, $isSelected, $isDisabled, $attribute, $title);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,7 +29,7 @@ class ServerPartHelper extends EquipmentHelper
|
|||||||
foreach ($attributes as $attribute_tag => $attribute_value) {
|
foreach ($attributes as $attribute_tag => $attribute_value) {
|
||||||
$attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $entity instanceof PartEntity ? $entity->$attribute_value() : $attribute_value);
|
$attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $entity instanceof PartEntity ? $entity->$attribute_value() : $attribute_value);
|
||||||
}
|
}
|
||||||
$title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "사용중." : "";
|
$title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "서비스중." : "";
|
||||||
$title .= $entity->getCustomTitle();
|
$title .= $entity->getCustomTitle();
|
||||||
$html .= sprintf("<option value=\"%s\"%s%s%s>%s</option>", $key, $isSelected, $isDisabled, $attribute, $title);
|
$html .= sprintf("<option value=\"%s\"%s%s%s>%s</option>", $key, $isSelected, $isDisabled, $attribute, $title);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user