OrbitObject

(no version information, might be only in CVS)

OrbitObject -- Access CORBA objects

Beschreibung

new OrbitObject ( string ior )

Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

This class provides access to a CORBA object.

Parameter Liste

ior

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

Beispiele

Beispiel 1. Sample IDL file

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

    attribute int value;
}

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