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

search for in the

com_invoke> <com_get_active_object
Last updated: Fri, 22 Aug 2008

view this page in

com_get

(PHP 4)

com_get Obtiene el valor de una propiedad de un componente COM [obsoleta]

Descripción

mixed com_get ( resource $objeto_com , string $propiedad )

Obtiene el valor de la property del componente COM referenciado por objeto_com . Devuelve FALSE si se produce un error.

Example #1 No se debe emplear la función com_get(), ya que es mejor usar la sintaxis OO

<?php 
// Mejor hacerlo asi...
$variable $objeto->propiedad;
// y no hacerlo de esta forma:
$variable com_get($objeto'propiedad');
?>

Note: Esta función no existe en PHP 5. En su lugar, se debería emplear la forma más directa y natural de la sintaxis OO.



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

com_invoke> <com_get_active_object
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites