Lines Matching refs:type

179 		'timeInstant'=>'string','base64Binary'=>'string','base64'=>'string','ur-type'=>'array'),
428 if (isset($type) && isset($type_prefix)) {
429 $type_str = " xsi:type=\"$type_prefix:$type\"";
437 if($type != '' && isset($this->typemap[$this->XMLSchemaVersion][$type])){
439 if ($type == 'boolean') {
450 return "<$name$xmlns $atts xsi:type=\"xsd:$type\">$val</$name>";
456 case (is_bool($val) || $type == 'boolean'):
457 if ($type == 'boolean') {
468 case (is_int($val) || is_long($val) || $type == 'int'):
475 case (is_float($val)|| is_double($val) || $type == 'float'):
482 case (is_string($val) || $type == 'string'):
503 case (is_array($val) || $type):
506 if($valueType=='arraySimple' || ereg('^ArrayOf',$type)){
512 $tt = $v->type;
549 } else if (isset($type) && isset($type_prefix)) {
550 $type_str = " xsi:type=\"$type_prefix:$type\"";
558 } else if (isset($type) && isset($type_prefix)) {
559 $type_str = " xsi:type=\"$type_prefix:$type\"";
568 if(isset($type) && isset($type_prefix)){
569 $type_str = " xsi:type=\"$type_prefix:$type\"";
580 if ($type == 'Map' && $type_ns == 'http://xml.apache.org/xml-soap') {
1070 * @param string $type, (schema | xml)
1074 function parseFile($xml,$type){ argument
1085 $this->parseString($xmlStr,$type);
1097 * @param string $type, (schema|xml)
1100 function parseString($xml,$type){ argument
1113 if($type == "schema"){
1116 } elseif($type == "xml"){
1566 …$typeName\">\n <$schemaPrefix:restriction base=\"".$this->contractQName($eParts['type'])."\"/>\n";
1578 …$xml .= " <$schemaPrefix:element name=\"$element\" type=\"".$this->contractQName($eParts['type']).…
1584 …$xml .= " <$schemaPrefix:attribute name=\"$attr\" type=\"".$this->contractQName($aParts['type'])."…
1612 * @param string $type, name of defined type
1618 function getPHPType($type,$ns){ argument
1619 if(isset($this->typemap[$ns][$type])){
1621 return $this->typemap[$ns][$type];
1622 } elseif(isset($this->complexTypes[$type])){
1624 return $this->complexTypes[$type]['phpType'];
1651 function getTypeDef($type){ argument
1653 if(isset($this->complexTypes[$type])){
1654 $this->xdebug("in getTypeDef, found complexType $type");
1655 return $this->complexTypes[$type];
1656 } elseif(isset($this->simpleTypes[$type])){
1657 $this->xdebug("in getTypeDef, found simpleType $type");
1658 if (!isset($this->simpleTypes[$type]['phpType'])) {
1661 …$uqType = substr($this->simpleTypes[$type]['type'], strrpos($this->simpleTypes[$type]['type'], ':'…
1662 …$ns = substr($this->simpleTypes[$type]['type'], 0, strrpos($this->simpleTypes[$type]['type'], ':')…
1665 $this->xdebug("in getTypeDef, found type for simpleType $type:");
1668 $this->simpleTypes[$type]['phpType'] = $etype['phpType'];
1671 $this->simpleTypes[$type]['elements'] = $etype['elements'];
1675 return $this->simpleTypes[$type];
1676 } elseif(isset($this->elements[$type])){
1677 $this->xdebug("in getTypeDef, found element $type");
1678 if (!isset($this->elements[$type]['phpType'])) {
1680 …$uqType = substr($this->elements[$type]['type'], strrpos($this->elements[$type]['type'], ':') + 1);
1681 $ns = substr($this->elements[$type]['type'], 0, strrpos($this->elements[$type]['type'], ':'));
1684 $this->xdebug("in getTypeDef, found type for element $type:");
1687 $this->elements[$type]['phpType'] = $etype['phpType'];
1690 $this->elements[$type]['elements'] = $etype['elements'];
1705 $typeDef['type'] = 'http://www.w3.org/2001/XMLSchema:string';
1708 $this->xdebug("in getTypeDef, did not find $type");
1715 * @param string $type, name of type
1720 function serializeTypeDef($type){ argument
1722 if($typeDef = $this->getTypeDef($type)){
1723 $str .= '<'.$type;
1735 $str .= "</$type>";
1737 $str .= "></$type>";
1751 * @param string $type, name of type
1756 function typeToForm($name,$type){ argument
1758 if($typeDef = $this->getTypeDef($type)){
1919 var $type; variable in soapval
1953 * @param mixed $type optional type name
1960 …function soapval($name='soapval',$type=false,$value=-1,$element_ns=false,$type_ns=false,$attribute… argument
1963 $this->type = $type;
1978 …return $this->serialize_val($this->value,$this->name,$this->type,$this->element_ns,$this->type_ns,…
2899 function setContentType($type, $charset = false) { argument
2900 $this->outgoing_headers['Content-Type'] = $type . ($charset ? '; charset=' . $charset : '');
3738 $type = $this->getHTTPContentType();
3740 $this->outgoing_headers[] = "Content-Type: $type" . ($charset ? '; charset=' . $charset : '');
4713 $uqType = substr($t['type'], strrpos($t['type'], ':') + 1);
4714 $ns = substr($t['type'], 0, strrpos($t['type'], ':'));
4757 <style type="text/css">
4762 li { list-style-type: none; margin-top: 10px; color: #000000; }
4782 <script language="JavaScript" type="text/javascript">
5051 $this->debug('serializing part "'.$name.'" of type "'.$type.'"');
5131 $this->debug('serializing part "'.$name.'" of type "'.$type.'"');
5271 $this->debug('in serializeType: appears to be Apache SOAP type');
5306 $this->debug("in serializeType: No namespace for type $type");
5308 $uqType = $type;
5311 $this->setError("$type ($uqType) is not a supported type.");
5312 $this->debug("in serializeType: $type ($uqType) is not a supported type.");
5721 $elements[$n] = array('name' => $n, 'type' => $t);
5724 $this->addElement(array('name' => $name, 'type' => $name . 'RequestType'));
5729 $elements[$n] = array('name' => $n, 'type' => $t);
5732 $this->addElement(array('name' => $name . 'Response', 'type' => $name . 'ResponseType'));
6234 * @param string $type XML type to decode
6239 function decodeSimple($value, $type, $typens) { argument
6241 if ((!isset($type)) || $type == 'string' || $type == 'long' || $type == 'unsignedLong') {
6244 if ($type == 'int' || $type == 'integer' || $type == 'short' || $type == 'byte') {
6247 if ($type == 'float' || $type == 'double' || $type == 'decimal') {
6250 if ($type == 'boolean') {
6256 if ($type == 'base64' || $type == 'base64Binary') {
6261 if ($type == 'nonPositiveInteger' || $type == 'negativeInteger'
6262 || $type == 'nonNegativeInteger' || $type == 'positiveInteger'
6263 || $type == 'unsignedInt'
6264 || $type == 'unsignedShort' || $type == 'unsignedByte') {
6268 if ($type == 'array') {
6320 …//} elseif($this->message[$pos]['type'] == 'SOAPStruct' || $this->message[$pos]['type'] == 'struct…
6324 …if ($this->message[$pos]['type'] == 'Vector' && $this->message[$pos]['type_namespace'] == 'http://…
7031 foreach ($opData['input']['parts'] as $name => $type) {
7034 $paramCommentStr .= "$type \$$name, ";