/**
  * Main constructor
  * @see WsdlToPhpModel::__construct()
  * @uses WsdlToPhpFunction::setParameterType()
  * @uses WsdlToPhpFunction::setReturnType()
  * @uses WsdlToPhpModel::setOwner()
  * @param string $_name the function name
  * @param string $_parameterType the type/name of the parameter
  * @param string $_returnType the type/name of the return value
  * @param WsdlToPhpService $_wsdlToPhpService defines the struct which owns this value
  * @return WsdlToPhpFunction
  */
 public function __construct($_name, $_parameterType, $_returnType, WsdlToPhpService $_wsdlToPhpService)
 {
     parent::__construct($_name);
     $this->setParameterType($_parameterType);
     $this->setReturnType($_returnType);
     $this->setOwner($_wsdlToPhpService);
 }
Exemple #2
0
 /**
  * Main constructor
  * @see WsdlToPhpModel::__construct()
  * @uses WsdlToPhpService::setFunctions()
  * @param string $_name the function name
  * @return WsdlToPhpService
  */
 public function __construct($_name)
 {
     parent::__construct($_name);
 }
 /**
  * Main constructor
  * @see WsdlToPhpModel::__construct()
  * @uses WsdlToPhpStruct::setIsStruct()
  * @param string $_name the original name
  * @param bool $_isStruct defines if it's a real sruct or not
  * @return WsdlToPhpStruct
  */
 public function __construct($_name, $_isStruct = true)
 {
     parent::__construct($_name);
     $this->setIsStruct($_isStruct);
 }
 /**
  * Main constructor
  * @see WsdlToPhpModel::__construct()
  * @uses WsdlToPhpModel::setOwner()
  * @uses WsdlToPhpStructValue::setIndex()
  * @param string $_name the original name
  * @param string $_index the index of the value in the enumeration struct
  * @param WsdlToPhpStruct $_wsdlToPhpStruct defines the struct which owns this value
  * @return WsdlToPhpStructValue
  */
 public function __construct($_name, $_index, WsdlToPhpStruct $_wsdlToPhpStruct)
 {
     parent::__construct($_name);
     $this->setIndex($_index);
     $this->setOwner($_wsdlToPhpStruct);
 }
 /**
  * Main constructor
  * @see WsdlToPhpModel::__construct()
  * @uses WsdlToPhpStructAttribute::setType()
  * @uses WsdlToPhpModel::setOwner()
  * @param string $_name the original name
  * @param string $_type the type
  * @param WsdlToPhpStruct $_wsdlToPhpStruct defines the struct which owns this value
  * @return WsdlToPhpStructAttribute
  */
 public function __construct($_name, $_type, WsdlToPhpStruct $_wsdlToPhpStruct)
 {
     parent::__construct($_name);
     $this->setType($_type);
     $this->setOwner($_wsdlToPhpStruct);
 }