PHP ��U
前一頁 |  | 下一頁

# OrbitObject

(no version information, might be only in CVS)

OrbitObject -- Access CORBA objects

## Description

new OrbitObject ( string ior )

警告
�o�Ө�ƬO����ʽ��C�o�Ө�ƪ�欰�B�W�١B�M����ƪ����L���b��PHP�o�椤�i��|�b�q�p�U���ܡC �ϥΦ��ݦۦ�Ӿ᭷�I�C

This class provides access to a CORBA object.

## Parameters

ior

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

## �d��

範例 1. Sample IDL file
    interface MyInterface {
        void SetInfo (string info);
        string GetInfo();

        attribute int value;
    }

範例 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; ?>`

前一頁 | 內容 | 下一頁
OrbitEnum | 上一層 | OrbitStruct