[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/domit/ -> dom_xmlrpc_fault.php (source)

   1  <?php
   2  /**
   3  * dom_xmlrpc_fault is a representation of an XML-RPC fault
   4  * @package dom-xmlrpc
   5  * @copyright (C) 2004 John Heinstein. All rights reserved
   6  * @license http://www.gnu.org/copyleft/lesser.html LGPL License
   7  * @author John Heinstein <johnkarl@nbnet.nb.ca>
   8  * @link http://www.engageinteractive.com/dom_xmlrpc/ DOM XML-RPC Home Page
   9  * DOM XML-RPC is Free Software
  10  **/
  11  
  12  /**
  13  * A representation of an XML-RPC fault
  14  *
  15  * @package dom-xmlrpc
  16  * @author John Heinstein <johnkarl@nbnet.nb.ca>
  17  */
  18  class dom_xmlrpc_fault {
  19      /** @var int The fault code */
  20      var $faultCode;
  21      /** @var string A string description of the fault code */
  22      var $faultString;
  23  
  24      /**
  25      * Constructor: instantiates the fault object
  26      * @param int The fault code
  27      * @param string The fault string
  28      */
  29  	function dom_xmlrpc_fault($faultCode, $faultString) {
  30          $this->faultCode = $faultCode;
  31          $this->faultString = $faultString;
  32      } //dom_xmlrpc_fault
  33  
  34      /**
  35      * Returns the fault code
  36      * @return int The fault code
  37      */
  38  	function getFaultCode() {
  39          return $this->faultCode;
  40      } //getFaultCode
  41  
  42      /**
  43      * Returns the fault string
  44      * @return int The fault string
  45      */
  46  	function getFaultString() {
  47          return $this->faultString;
  48      } //getFaultStringltCode
  49  } //dom_xmlrpc_fault
  50  
  51  ?>


Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics