public function findLast($count, &$elements, $module = null, $function = null, array $args = array())
{
if (!is_int($count)) {
$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_last', array($this->bin, $count, $module, $function, $args), $elements);
} else {
$status = $this->client->apply($this->key, 'llist', 'find_last', array($this->bin, $count), $elements);
}
$this->processStatusCode($status);
return $this->errorno;
}