Query: com_invoke
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
COM_INVOKE(3) 1 COM_INVOKE(3) com_invoke - Calls a COM component's method [deprecated]DESCRIPTIONmixed com_invoke (resource $com_object, string $function_name, [mixed $function_parameters]) com_invoke(3) invokes the method named $function_name of the COM component referenced by $com_object. com_invoke(3) returns FALSE on error, returns the $function_name's return value on success. All the extra parameters $function_parameters are passed to the method $func- tion_name. Example #1 Don't use com_invoke(), use OO syntax instead <?php // do this $val = $obj->method($one, $two); // instead of this: $val = com_invoke($obj, 'method', $one, $two); ?> Note 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. PHP Documentation Group COM_INVOKE(3)
Related Man Pages |
---|
var_export(3) - php |
gearmanclient(3) - php |
forward_static_call(3) - php |
forward_static_call_array(3) - php |
sqlite_create_function(3) - php |
Similar Topics in the Unix Linux Community |
---|
Forum Video Tutorial: How to Use Code Tags |
UNIX.COM 2017 Year End Summary |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Please Welcome Nicki Paul to the Moderator Team! |