public function find($value, &$elements, $module = null, $function = null, array $args = array())
{
if (!is_string($value) && !is_int($value) && !is_array($value)) {
$this->errorno = self::ERR_INPUT_PARAM;
$this->error = self::MSG_TYPE_NOT_SUPPORTED;
return $this->errorno;
}
$elements = array();
if (!is_null($module) && !is_null($function)) {
$status = $this->client->apply($this->key, 'llist', 'find', array($this->bin, $value, $module, $function, $args), $elements);
} else {
$status = $this->client->apply($this->key, 'llist', 'find', array($this->bin, $value), $elements);
}
$this->processStatusCode($status);
return $this->errorno;
}