|
@@ 1442-1444 (lines=3) @@
|
| 1439 |
|
private function convertObjectGUID2Str($oguid) { |
| 1440 |
|
$hex_guid = bin2hex($oguid); |
| 1441 |
|
$hex_guid_to_guid_str = ''; |
| 1442 |
|
for($k = 1; $k <= 4; ++$k) { |
| 1443 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2); |
| 1444 |
|
} |
| 1445 |
|
$hex_guid_to_guid_str .= '-'; |
| 1446 |
|
for($k = 1; $k <= 2; ++$k) { |
| 1447 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2); |
|
@@ 1446-1448 (lines=3) @@
|
| 1443 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2); |
| 1444 |
|
} |
| 1445 |
|
$hex_guid_to_guid_str .= '-'; |
| 1446 |
|
for($k = 1; $k <= 2; ++$k) { |
| 1447 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2); |
| 1448 |
|
} |
| 1449 |
|
$hex_guid_to_guid_str .= '-'; |
| 1450 |
|
for($k = 1; $k <= 2; ++$k) { |
| 1451 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2); |
|
@@ 1450-1452 (lines=3) @@
|
| 1447 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2); |
| 1448 |
|
} |
| 1449 |
|
$hex_guid_to_guid_str .= '-'; |
| 1450 |
|
for($k = 1; $k <= 2; ++$k) { |
| 1451 |
|
$hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2); |
| 1452 |
|
} |
| 1453 |
|
$hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4); |
| 1454 |
|
$hex_guid_to_guid_str .= '-' . substr($hex_guid, 20); |
| 1455 |
|
|