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

search for in the

variant_abs> <com_release
Last updated: Fri, 26 Dec 2008

view this page in

com_set

(PHP 4)

com_setModifie une propriété d'un composant COM

Description

Obsolète ; utilisez la syntaxe orientée objet à la place.

Exemple #1 Syntaxe OO

<?php
// Faîtes ceci
$obj->property $value;
// au lieu de ceci :
com_set($obj'property'$value);
?>

Notes

Note: Cette fonction n'existe pas en PHP 5 ; à la place, vous devriez utiliser la syntaxe OO pour accéder aux propriétés ou appeler les méthodes.



add a note add a note User Contributed Notes
com_set
dan at kuykendall dot org
16-Aug-2002 04:38
This should also work using the newer OOP style that is still undocumented.

<?php
$obj
= new COM('Some.app');
$obj->somevar = 'somevalue';
?>

variant_abs> <com_release
Last updated: Fri, 26 Dec 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites