This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
MatritumCantat_Web/www/includes/domit/dom_xmlrpc_fault.php
2012-09-18 20:02:43 +00:00

51 lines
1.2 KiB
PHP

<?php
/**
* dom_xmlrpc_fault is a representation of an XML-RPC fault
* @package dom-xmlrpc
* @copyright (C) 2004 John Heinstein. All rights reserved
* @license http://www.gnu.org/copyleft/lesser.html LGPL License
* @author John Heinstein <johnkarl@nbnet.nb.ca>
* @link http://www.engageinteractive.com/dom_xmlrpc/ DOM XML-RPC Home Page
* DOM XML-RPC is Free Software
**/
/**
* A representation of an XML-RPC fault
*
* @package dom-xmlrpc
* @author John Heinstein <johnkarl@nbnet.nb.ca>
*/
class dom_xmlrpc_fault {
/** @var int The fault code */
var $faultCode;
/** @var string A string description of the fault code */
var $faultString;
/**
* Constructor: instantiates the fault object
* @param int The fault code
* @param string The fault string
*/
function dom_xmlrpc_fault($faultCode, $faultString) {
$this->faultCode = $faultCode;
$this->faultString = $faultString;
} //dom_xmlrpc_fault
/**
* Returns the fault code
* @return int The fault code
*/
function getFaultCode() {
return $this->faultCode;
} //getFaultCode
/**
* Returns the fault string
* @return int The fault string
*/
function getFaultString() {
return $this->faultString;
} //getFaultStringltCode
} //dom_xmlrpc_fault
?>