Guide to the LiveAPI System - The get_result() Method

Description

The get_result() method fetches the most recent data result node.

Note:

This method only functions in the LiveAPI PHP Class. Do not attempt to use it in the LiveAPI Perl Module.

Example  


LiveAPI PHP Class

1
2
// Get the last data result node.
$cpanel->get_result();




LiveAPI Perl Module

This method is not available in the LiveAPI Perl Module.



Parameters

This method does not accept parameters.

Returns

This method returns the ['cpanelresult']['data']['result'] node of the last response that the system returned. The format of this data varies based on the last call that the system performed.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....