com_set

(PHP 3 >= 3.0.3, PHP 4)

com_set -- Értéket ad COM komponenes egy tulajdonságának

Leírás

void com_set ( resource com_object, string property, mixed value )

Beállítja a com_object COM komponenes property tulajdonságának értékét. Az újonnan beállított értékkel tér vissza siker esetén, FALSE értékkel, ha hiba történt.

Példa 1. A com_set() helyett inkább az OO szintaxist alkalmazd!

<?php
// Így csináld:
$obj->property = $value;
// és ne így:
com_set($obj, 'property', $value);
?>

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.