Forum und email

OrbitObject

(No version information available, might be only in CVS)

OrbitObject — Access CORBA objects

Descrizione

new OrbitObject ( string $ior )
Avviso

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

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;
?>