September 2001
Intermediate to advanced
768 pages
32h 45m
English
mixed com_invoke(resource identifier, string method_name, [mixed ... ])
| identifier | Identifier created from com_load() |
| method_name | Name of method to call |
| ... | Function parameters |
Invokes the method in the COM object and returns the output or FALSE on error.
Returns:
Target function’s return value; FALSE on error
Description:
Invokes a method in the loaded COM object. The code in the following example would be written as 'com.DoFunction(functionval)' in ASP.
Version:
Existing since version 3.0.3
Example:
$functionval = "testing";
$com = new COM("ObjectName.ClassName");
$ret = com_invoke($com, "DoFunction", $functionval);
|
Read now
Unlock full access