Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: com_get - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

com_invoke" width="11" height="7"/> <com_get_active_object
Last updated: Mon, 05 Feb 2007

view this page in

com_get

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

com_get — COM コンポーネントのプロパティの値を得る [非推奨]

説明

mixed com_get ( resource com_object, string property )

com_object が指す COM コンポーネントの property の値を返します。エラー時に FALSE を返します。

例 385. com_get() を使用せず、かわりにオブジェクト指向の構文を使用する

<?php
// こちらを使用します
$var = $obj->property;
// こちらは推奨しません
$var = com_get($obj, 'property');
?>

注意: この関数は PHP 5 には存在しません。そのかわりに、標準的でより自然な オブジェクト指向の構文を使用してプロパティへのアクセスやメソッドの コールを行うべきです。



add a note add a note User Contributed Notes
com_get
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites