Forum und email

OrbitObject

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

OrbitObject — Access CORBA objects

Descripción

new OrbitObject ( string $ior )
Warning

Esta función es EXPERIMENTAL. Esto significa que el comportamiento de esta función, el nombre de esta función y en definitiva TODO lo documentado sobre esta función, puede cambiar en una futura version de PHP SIN AVISO. La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabilidad.

This class provides access to a CORBA object.

Lista de parámetros

ior

Should be a string containing the IOR (Interoperable Object Reference) that identifies the remote object.

Ejemplos

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