com_get

(PHP 3 >= 3.0.3, PHP 4)

com_get -- COM komponenes egy tulajdonságának értékét adja vissza

Leírás

mixed com_get ( resource com_object, string property )

Visszaadja a property értékét a com_object-el megadott COM komponensből. FALSE értékkel tér vissza hiba esetén.

Példa 1. A com_get() hívása helyett inkább az OO szintaxist alkalmazd

<?php
// így csináld:
$var = $obj->property;
// ne pedig így:
$var = com_get($obj, 'property');
?>

Megjegyzés: This function does not exist in PHP 5; instead, you should use the regular and more natural OO syntax to access properties or call methods.