OrbitObject
(No version information available, might be only in CVS)
OrbitObject — Access CORBA objects
說明
new OrbitObject
( string $ior
)
Warning
本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。
This class provides access to a CORBA object.
參數
- ior
-
Should be a string containing the IOR (Interoperable Object Reference) that identifies the remote object.
範例
Example#1 Sample IDL file
interface MyInterface { void SetInfo (string info); string GetInfo(); attribute int value; }
Example#2 PHP code for accessing MyInterface
<?php
$obj = new OrbitObject ($ior);
$obj->SetInfo ("A 2GooD object");
echo $obj->GetInfo();
$obj->value = 42;
echo $obj->value;
?>