OrbitObject
(no version information, might be only in CVS)
OrbitObject -- Access CORBA objects
Description
new
OrbitObject ( string ior )
Waarschuwing |
Deze functie is
EXPERIMENTEEL. Dat betekent, dat het gedrag van deze
functie, deze functienaam, in concreto ALLES dat hier gedocumenteerd is in een
toekomstige uitgave van PHP ZONDER WAARSCHUWING kan veranderen. Wees
gewaarschuwd, en gebruik deze functie op eigen risico. |
This class provides access to a CORBA object.
Parameters
ior
Should be a string containing the IOR (Interoperable Object Reference)
that identifies the remote object.
Voorbeelden
Voorbeeld 1. Sample IDL file interface MyInterface {
void SetInfo (string info);
string GetInfo();
attribute int value;
} |
|
Voorbeeld 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; ?>
|
|