Forum und email

OrbitObject

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

OrbitObject — Access CORBA objects

Описание

new OrbitObject ( string $ior )
Warning

Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.

This class provides access to a CORBA object.

Список параметров

ior

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

Примеры

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