Forum und email

OrbitObject

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

OrbitObject — Accéder à des objets CORBA

Description

new OrbitObject ( string $ior )
Warning

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

Cette classe fournit un accès à un objet CORBA.

Liste de paramètres

ior

Devrait être une chaîne de caractères contenant le IOR (Interoperable Object Rerefence) qui identifie l'objet distant.

Exemples

Example#1 Fichier IDL d'Exemple

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

    attribute int value;
}

Example#2 Code PHP pour accéder MyInterface

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

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

echo 
$obj->GetInfo();

$obj->value 42;

echo 
$obj->value;
?>