PHP Classes

File: tests/resources/generated/ValidApiQuery.php

Recommend this page to a friend!
  Classes of WsdlToPhp  >  PHP SOAP Package Generator  >  tests/resources/generated/ValidApiQuery.php  >  Download  
File: tests/resources/generated/ValidApiQuery.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP SOAP Package Generator
Generate package to call SOAP services using WSDL
Author: By
Last change:
Date: 6 years ago
Size: 3,331 bytes
 

Contents

Class file image Download
<?php

namespace Api\StructType;

use \
WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Query StructType
 * @package Api
 * @subpackage Structs
 * @release 1.1.0
 */
class ApiQuery extends AbstractStructBase
{
   
/**
     * The SearchTerms
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
   
public $SearchTerms;
   
/**
     * The AlteredQuery
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
   
public $AlteredQuery;
   
/**
     * The AlterationOverrideQuery
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
   
public $AlterationOverrideQuery;
   
/**
     * Constructor method for Query
     * @uses ApiQuery::setSearchTerms()
     * @uses ApiQuery::setAlteredQuery()
     * @uses ApiQuery::setAlterationOverrideQuery()
     * @param string $searchTerms
     * @param string $alteredQuery
     * @param string $alterationOverrideQuery
     */
   
public function __construct($searchTerms = null, $alteredQuery = null, $alterationOverrideQuery = null)
    {
       
$this
           
->setSearchTerms($searchTerms)
            ->
setAlteredQuery($alteredQuery)
            ->
setAlterationOverrideQuery($alterationOverrideQuery);
    }
   
/**
     * Get SearchTerms value
     * @return string|null
     */
   
public function getSearchTerms()
    {
        return
$this->SearchTerms;
    }
   
/**
     * Set SearchTerms value
     * @param string $searchTerms
     * @return \Api\StructType\ApiQuery
     */
   
public function setSearchTerms($searchTerms = null)
    {
       
$this->SearchTerms = $searchTerms;
        return
$this;
    }
   
/**
     * Get AlteredQuery value
     * @return string|null
     */
   
public function getAlteredQuery()
    {
        return
$this->AlteredQuery;
    }
   
/**
     * Set AlteredQuery value
     * @param string $alteredQuery
     * @return \Api\StructType\ApiQuery
     */
   
public function setAlteredQuery($alteredQuery = null)
    {
       
$this->AlteredQuery = $alteredQuery;
        return
$this;
    }
   
/**
     * Get AlterationOverrideQuery value
     * @return string|null
     */
   
public function getAlterationOverrideQuery()
    {
        return
$this->AlterationOverrideQuery;
    }
   
/**
     * Set AlterationOverrideQuery value
     * @param string $alterationOverrideQuery
     * @return \Api\StructType\ApiQuery
     */
   
public function setAlterationOverrideQuery($alterationOverrideQuery = null)
    {
       
$this->AlterationOverrideQuery = $alterationOverrideQuery;
        return
$this;
    }
   
/**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \Api\StructType\ApiQuery
     */
   
public static function __set_state(array $array)
    {
        return
parent::__set_state($array);
    }
   
/**
     * Method returning the class name
     * @return string __CLASS__
     */
   
public function __toString()
    {
        return
__CLASS__;
    }
}

For more information send a message to info at phpclasses dot org.