OrbitObject

(unknown)

OrbitObject -- Zugang zu CORBA Objekten

Beschreibung

new OrbitObject (string ior)

Warnung

This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.

Diese Klasse ermöglicht den Zugang zu einem CORBA Objekt. Der Parameter ior muss ein String sein, der die IOR (Interoperable Object Reference) enthält, die das entfernte Objekt identifiziert.

Beispiel 1. IDL Beispieldatei


interface MyInterface {
    void SetInfo (string info);
    string GetInfo();

    attribute int value;
}
      

Beispiel 2. PHP Code um auf MyInterface zuzugreifen


<?php
$obj = new OrbitObject ($ior);

$obj->SetInfo ("A 2GooD object");

echo $obj->GetInfo();

$obj->value = 42;

echo $obj->value;
?>