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 / custom.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  2.0 KB  |  78 lines

  1. <?php
  2.  
  3. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  4.  
  5. /**
  6.  * Contains the Services_DynDNS_Request_custom 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: custom.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 'custom' 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_custom 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.                             'offline'  => SERVICES_DYNDNS_PARAM_VALUE_NO);
  54.     
  55.     /**
  56.      * Constructor
  57.      *
  58.      * @return void
  59.      * @access public
  60.      */
  61.     function Services_DynDNS_Request_custom()
  62.     {
  63.         $this->system = 'custom';
  64.         parent::initialize();
  65.     }
  66.     
  67. }
  68.  
  69. /*
  70.  * Local variables:
  71.  * tab-width: 4
  72.  * c-basic-offset: 4
  73.  * c-hanging-comment-ender-p: nil
  74.  * End:
  75.  */
  76.  
  77. ?>
  78.