home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / Services / DynDNS / Request / statdns.php < prev   
Encoding:
PHP Script  |  2008-07-02  |  2.0 KB  |  72 lines

  1. <?php
  2.  
  3. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  4.  
  5. /**
  6.  * Contains the Services_DynDNS_Request_statdns class
  7.  * 
  8.  * PHP versions 4 and 5
  9.  *
  10.  * LICENSE: This source file is subject to version 3.0 of the PHP license
  11.  * that is available through the world-wide-web at the following URI:
  12.  * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
  13.  * the PHP License and are unable to obtain it through the web, please
  14.  * send a note to license@php.net so we can mail you a copy immediately.
  15.  * 
  16.  * @category   Web Services
  17.  * @package    Services_DynDNS
  18.  * @author     Bryan Dunlap <bdunlap@bryandunlap.com>
  19.  * @copyright  2005 Bryan Dunlap
  20.  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  21.  * @version    CVS: $Id: statdns.php,v 1.1 2005/08/13 14:25:34 bdunlap Exp $
  22.  * @link       http://pear.php.net/package/Services_DynDNS
  23.  */
  24.  
  25. /**
  26.  * Load Services_DynDNS_Request_common
  27.  */
  28. require_once 'Services/DynDNS/Request/common.php';
  29.  
  30. /**
  31.  * Encapsulates a 'statdns' request to the DynDND REST API
  32.  *
  33.  * @category   Web Services
  34.  * @package    Services_DynDNS
  35.  * @author     Bryan Dunlap <bdunlap@bryandunlap.com>
  36.  * @copyright  2005 Bryan Dunlap
  37.  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  38.  * @version    Release: 0.3.1
  39.  */
  40. class Services_DynDNS_Request_statdns extends Services_DynDNS_Request_common
  41. {
  42.  
  43.     /**
  44.      * Parameters for the request
  45.      *
  46.      * @var    array
  47.      * @access protected
  48.      */
  49.     var $parameters = array('username' => '',
  50.                             'password' => '',
  51.                             'hostname' => array(),
  52.                             'myip'     => '',
  53.                             'wildcard' => SERVICES_DYNDNS_PARAM_VALUE_OFF,
  54.                             'mx'       => '',
  55.                             'backmx'   => SERVICES_DYNDNS_PARAM_VALUE_OFF);
  56.     
  57.     /**
  58.      * Constructor
  59.      *
  60.      * @return void
  61.      * @access public
  62.      */
  63.     function Services_DynDNS_Request_statdns()
  64.     {
  65.         $this->system = 'statdns';
  66.         parent::initialize();
  67.     }
  68.  
  69. }
  70.  
  71. ?>
  72.