XML_RPC_Response::decode PHP Метод

decode() публичный Метод

Decode
public decode ( mixed $array = NULL ) : array
$array mixed
Результат array
    public function decode($array = NULL)
    {
        $CI =& get_instance();
        if (is_array($array)) {
            while (list($key) = each($array)) {
                if (is_array($array[$key])) {
                    $array[$key] = $this->decode($array[$key]);
                } elseif ($this->xss_clean) {
                    $array[$key] = $CI->security->xss_clean($array[$key]);
                }
            }
            return $array;
        }
        $result = $this->xmlrpc_decoder($this->val);
        if (is_array($result)) {
            $result = $this->decode($result);
        } elseif ($this->xss_clean) {
            $result = $CI->security->xss_clean($result);
        }
        return $result;
    }