|
@@ 1410-1412 (lines=3) @@
|
| 1407 |
|
private function convertObjectGUID2Str($oguid) { |
| 1408 |
|
$hex_guid = bin2hex($oguid); |
| 1409 |
|
$hex_guid_to_guid_str = ''; |
| 1410 |
|
for($k = 1; $k <= 4; ++$k) { |
| 1411 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2); |
| 1412 |
|
} |
| 1413 |
|
$hex_guid_to_guid_str .= '-'; |
| 1414 |
|
for($k = 1; $k <= 2; ++$k) { |
| 1415 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2); |
|
@@ 1414-1416 (lines=3) @@
|
| 1411 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2); |
| 1412 |
|
} |
| 1413 |
|
$hex_guid_to_guid_str .= '-'; |
| 1414 |
|
for($k = 1; $k <= 2; ++$k) { |
| 1415 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2); |
| 1416 |
|
} |
| 1417 |
|
$hex_guid_to_guid_str .= '-'; |
| 1418 |
|
for($k = 1; $k <= 2; ++$k) { |
| 1419 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2); |
|
@@ 1418-1420 (lines=3) @@
|
| 1415 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2); |
| 1416 |
|
} |
| 1417 |
|
$hex_guid_to_guid_str .= '-'; |
| 1418 |
|
for($k = 1; $k <= 2; ++$k) { |
| 1419 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2); |
| 1420 |
|
} |
| 1421 |
|
$hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4); |
| 1422 |
|
$hex_guid_to_guid_str .= '-' . substr($hex_guid, 20); |
| 1423 |
|
|