OrbitObject
(no version information, might be only in CVS)
OrbitObject -- Access CORBA objects
Descrizione
new
OrbitObject ( string ior )
Avvertimento |
Questa funzione è
SPERIMENTALE. Ovvero, il comportamento di questa funzione,
il nome di questa funzione, in definitiva tutto ciò che è documentato qui
può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa
funzione è a vostro rischio. |
This class provides access to a CORBA object.
Elenco dei parametri
- ior
Should be a string containing the IOR (Interoperable Object Reference)
that identifies the remote object.
Esempi
Esempio 1. Sample IDL file interface MyInterface {
void SetInfo (string info);
string GetInfo();
attribute int value;
} |
|
Esempio 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; ?>
|
|