COM_INVOKE(3) 1 COM_INVOKE(3)com_invoke - Calls a COM component's method [deprecated]
DESCRIPTION
mixed 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)
Check Out this Related Man Page
GEARMANCLIENT(3) 1 GEARMANCLIENT(3)The GearmanClient classINTRODUCTION
Represents a class for connecting to a Gearman job server and making requests to perform some function on provided data. The function per-
formed must be one registered by a Gearman worker and the data passed is opaque to the job server.
CLASS SYNOPSIS
GearmanClient
GearmanClient
Methods
o public bool GearmanClient::addOptions (int $options)
o public bool GearmanClient::addServer ([string $host = 127.0.0.1], [int $port = 4730])
o public bool GearmanClient::addServers ([string $servers = 127.0.0.1:4730])
o public GearmanTask GearmanClient::addTask (string $function_name, string $workload, [mixed &$context], [string $unique])
o public GearmanTask GearmanClient::addTaskBackground (string $function_name, string $workload, [mixed &$context], [string $unique])
o public GearmanTask GearmanClient::addTaskHigh (string $function_name, string $workload, [mixed &$context], [string $unique])
o public GearmanTask GearmanClient::addTaskHighBackground (string $function_name, string $workload, [mixed &$context], [string
$unique])
o public GearmanTask GearmanClient::addTaskLow (string $function_name, string $workload, [mixed &$context], [string $unique])
o public GearmanTask GearmanClient::addTaskLowBackground (string $function_name, string $workload, [mixed &$context], [string $unique])
o public GearmanTask GearmanClient::addTaskStatus (string $job_handle, [string &$context])
o public bool GearmanClient::clearCallbacks (void )
o public GearmanClient GearmanClient::clone (void )
o public GearmanClient::__construct (void )
o public string GearmanClient::context (void )
o public string GearmanClient::data (void )
o public string GearmanClient::do (string $function_name, string $workload, [string $unique])
o public string GearmanClient::doBackground (string $function_name, string $workload, [string $unique])
o public string GearmanClient::doHigh (string $function_name, string $workload, [string $unique])
o public string GearmanClient::doHighBackground (string $function_name, string $workload, [string $unique])
o public string GearmanClient::doJobHandle (void )
o public string GearmanClient::doLow (string $function_name, string $workload, [string $unique])
o public string GearmanClient::doLowBackground (string $function_name, string $workload, [string $unique])
o public string GearmanClient::doNormal (string $function_name, string $workload, [string $unique])
o public array GearmanClient::doStatus (void )
o public bool GearmanClient::echo (string $workload)
o public string GearmanClient::error (void )
o public int GearmanClient::getErrno (void )
o public array GearmanClient::jobStatus (string $job_handle)
o public bool GearmanClient::ping (string $workload)
o public bool GearmanClient::removeOptions (int $options)
o public int GearmanClient::returnCode (void )
o public bool GearmanClient::runTasks (void )
o public void GearmanClient::setClientCallback (callable $callback)
o public bool GearmanClient::setCompleteCallback (callable $callback)
o public bool GearmanClient::setContext (string $context)
o public bool GearmanClient::setCreatedCallback (string $callback)
o public bool GearmanClient::setData (string $data)
o public bool GearmanClient::setDataCallback (callable $callback)
o public bool GearmanClient::setExceptionCallback (callable $callback)
o public bool GearmanClient::setFailCallback (callable $callback)
o public bool GearmanClient::setOptions (int $options)
o public bool GearmanClient::setStatusCallback (callable $callback)
o public bool GearmanClient::setTimeout (int $timeout)
o public bool GearmanClient::setWarningCallback (callable $callback)
o public bool GearmanClient::setWorkloadCallback (callable $callback)
o public int GearmanClient::timeout (void )
PHP Documentation Group GEARMANCLIENT(3)