new OrbitObject (string ior)
new OrbitObject
This function is EXPERIMENTAL. That means, that the behaviour of this function, the function name, in concreto ANYTHING documented here can change in a future release of this package WITHOUT NOTICE. Be warned, and use this function at your own risk.
This class provides access to a CORBA object. The ior parameter 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; ?>