Lines Matching refs:typeDef

1706 			return $typeDef;
1722 if($typeDef = $this->getTypeDef($type)){
1724 if(is_array($typeDef['attrs'])){
1730 if(count($typeDef['elements']) > 0){
1732 foreach($typeDef['elements'] as $element => $eData){
1736 } elseif($typeDef['typeClass'] == 'element') {
1758 if($typeDef = $this->getTypeDef($type)){
1760 if($typeDef['phpType'] == 'struct'){
1762 foreach($typeDef['elements'] as $child => $childDef){
1769 } elseif($typeDef['phpType'] == 'array'){
1773 <tr><td align='right'>array item (type: $typeDef[arrayType]):</td>
4937 $typeDef = $this->getTypeDef($this->getLocalPart($partType), $ns);
4938 if ($typeDef['typeClass'] == 'element') {
5310 if(!$typeDef = $this->getTypeDef($uqType, $ns)){
5316 $this->appendDebug('typeDef=' . $this->varDump($typeDef));
5318 $phpType = $typeDef['phpType'];
5319 …$uqType, ns: $ns, phptype: $phpType, arrayType: " . (isset($typeDef['arrayType']) ? $typeDef['arra…
5322 if (isset($typeDef['typeClass']) && $typeDef['typeClass'] == 'element') {
5324 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
5351 $elementAttrs = $this->serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType);
5362 … $xml .= $this->serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use, $encodingStyle);
5370 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
5389 $this->getPrefixFromNamespace($this->getPrefix($typeDef['arrayType'])) .
5391 $this->getLocalPart($typeDef['arrayType'])."[0]\"/>";
5396 if (isset($typeDef['multidimensional'])) {
5410 $this->debug("serializing array element: $k, $v of type: $typeDef[arrayType]");
5412 if (!in_array($typeDef['arrayType'],$this->typemap['http://www.w3.org/2001/XMLSchema'])) {
5432 .$this->getPrefixFromNamespace($this->getPrefix($typeDef['arrayType']))
5433 .":".$this->getLocalPart($typeDef['arrayType'])."[$rows$cols]\">"
5438 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
5464 * @param array $typeDef our internal representation of an XML schema type (or element)
5471 function serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType) { argument
5473 if (isset($typeDef['attrs']) && is_array($typeDef['attrs'])) {
5483 foreach ($typeDef['attrs'] as $aName => $attrs) {
5505 if (isset($typeDef['extensionBase'])) {
5506 $ns = $this->getPrefix($typeDef['extensionBase']);
5507 $uqType = $this->getLocalPart($typeDef['extensionBase']);
5511 if ($typeDef = $this->getTypeDef($uqType, $ns)) {
5513 $xml .= $this->serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType);
5524 * @param array $typeDef our internal representation of an XML schema type (or element)
5533 …function serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use='encoded', $encodingSty… argument
5535 if (isset($typeDef['elements']) && is_array($typeDef['elements'])) {
5546 if (count($typeDef['elements']) != count($xvalue)){
5549 foreach ($typeDef['elements'] as $eName => $attrs) {
5605 if (isset($typeDef['extensionBase'])) {
5606 $ns = $this->getPrefix($typeDef['extensionBase']);
5607 $uqType = $this->getLocalPart($typeDef['extensionBase']);
5611 if ($typeDef = $this->getTypeDef($uqType, $ns)) {
5613 … $xml .= $this->serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use, $encodingStyle);