Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/GLS/CS/Array/GLS_2StructCStringArray.php
<?php
/**
 * File for class GLS_2StructCStringArray
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
/**
 * This class stands for GLS_2StructCStringArray originally named cStringArray
 * Meta informations extracted from the WSDL
 * - from schema : {@link https://ade-test.gls-poland.com/adeplus/pm1/ade_webapi2.php?wsdl}
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
class GLS_2StructCStringArray extends GLS_2WsdlClass
{
    /**
     * The items
     * Meta informations extracted from the WSDL
     * - maxOccurs : unbounded
     * - minOccurs : 0
     * @var string
     */
    public $items;
    /**
     * Constructor method for cStringArray
     * @see parent::__construct()
     * @param string $_items
     * @return GLS_2StructCStringArray
     */
    public function __construct($_items = NULL)
    {
        parent::__construct(array('items'=>$_items),false);
    }
    /**
     * Get items value
     * @return string|null
     */
    public function getItems()
    {
        return $this->items;
    }
    /**
     * Set items value
     * @param string $_items the items
     * @return string
     */
    public function setItems($_items)
    {
        return ($this->items = $_items);
    }
    /**
     * Returns the current element
     * @see GLS_2WsdlClass::current()
     * @return string
     */
    public function current()
    {
        return parent::current();
    }
    /**
     * Returns the indexed element
     * @see GLS_2WsdlClass::item()
     * @param int $_index
     * @return string
     */
    public function item($_index)
    {
        return parent::item($_index);
    }
    /**
     * Returns the first element
     * @see GLS_2WsdlClass::first()
     * @return string
     */
    public function first()
    {
        return parent::first();
    }
    /**
     * Returns the last element
     * @see GLS_2WsdlClass::last()
     * @return string
     */
    public function last()
    {
        return parent::last();
    }
    /**
     * Returns the element at the offset
     * @see GLS_2WsdlClass::last()
     * @param int $_offset
     * @return string
     */
    public function offsetGet($_offset)
    {
        return parent::offsetGet($_offset);
    }
    /**
     * Returns the attribute name
     * @see GLS_2WsdlClass::getAttributeName()
     * @return string items
     */
    public function getAttributeName()
    {
        return 'items';
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see GLS_2WsdlClass::__set_state()
     * @uses GLS_2WsdlClass::__set_state()
     * @param array $_array the exported values
     * @return GLS_2StructCStringArray
     */
    public static function __set_state(array $_array,$_className = __CLASS__)
    {
        return parent::__set_state($_array,$_className);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}