Child pages
  • Guide to the LiveAPI System - The get_result() Method
Skip to end of metadata
Go to start of metadata

 

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

// 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.