Source for file DeleteDomain.php

Documentation is available at DeleteDomain.php

  1. <?php
  2. /** 
  3.  *  PHP Version 5
  4.  *
  5.  *  @category    Amazon
  6.  *  @package     Amazon_SimpleDB
  7.  *  @copyright   Copyright 2007 Amazon Technologies, Inc.
  8.  *  @link        http://aws.amazon.com
  9.  *  @license     http://aws.amazon.com/apache2.0  Apache License, Version 2.0
  10.  *  @version     2007-11-07
  11.  */
  12. /******************************************************************************* 
  13.  *    __  _    _  ___ 
  14.  *   (  )( \/\/ )/ __)
  15.  *   /__\ \    / \__ \
  16.  *  (_)(_) \/\/  (___/
  17.  * 
  18.  *  Amazon Simple DB PHP5 Library
  19.  *  Generated: Wed Jul 23 00:24:22 PDT 2008
  20.  * 
  21.  */
  22.  
  23. /**
  24.  *  @see Amazon_SimpleDB_Model
  25.  */
  26. require_once ('Amazon/SimpleDB/Model.php');  
  27.  
  28.     
  29.  
  30. /**
  31.  * Amazon_SimpleDB_Model_DeleteDomain
  32.  * 
  33.  * Properties:
  34.  * <ul>
  35.  * 
  36.  * <li>DomainName: string</li>
  37.  *
  38.  * </ul>
  39.  */ 
  40. {
  41.  
  42.  
  43.     /**
  44.      * Construct new Amazon_SimpleDB_Model_DeleteDomain
  45.      * 
  46.      * @param mixed $data DOMElement or Associative Array to construct from.
  47.      * 
  48.      *  Valid properties:
  49.      *  <ul>
  50.      * 
  51.      *  <li>DomainName: string</li>
  52.      *
  53.      *  </ul>
  54.      */
  55.     public function __construct($data null)
  56.     {
  57.         $this->_fields = array (
  58.         'DomainName' => array('FieldValue' => null'FieldType' => 'string'),
  59.         );
  60.         parent::__construct($data);
  61.     }
  62.  
  63.         /**
  64.      * Gets the value of the DomainName property.
  65.      * 
  66.      * @return string DomainName
  67.      */
  68.     public function getDomainName(
  69.     {
  70.         return $this->_fields['DomainName']['FieldValue'];
  71.     }
  72.  
  73.     /**
  74.      * Sets the value of the DomainName property.
  75.      * 
  76.      * @param string DomainName
  77.      * @return this instance
  78.      */
  79.     public function setDomainName($value
  80.     {
  81.         $this->_fields['DomainName']['FieldValue'$value;
  82.         return $this;
  83.     }
  84.  
  85.     /**
  86.      * Sets the value of the DomainName and returns this instance
  87.      * 
  88.      * @param string $value DomainName
  89.      * @return Amazon_SimpleDB_Model_DeleteDomain instance
  90.      */
  91.     public function withDomainName($value)
  92.     {
  93.         $this->setDomainName($value);
  94.         return $this;
  95.     }
  96.  
  97.  
  98.     /**
  99.      * Checks if DomainName is set
  100.      * 
  101.      * @return bool true if DomainName  is set
  102.      */
  103.     public function isSetDomainName()
  104.     {
  105.         return !is_null($this->_fields['DomainName']['FieldValue']);
  106.     }
  107.  
  108.  
  109.  
  110.  
  111. }

Documentation generated on Wed, 23 Jul 2008 00:47:36 -0700 by phpDocumentor 1.4.2