Lines Matching refs:typeDef
1817 return $typeDef;
1833 if($typeDef = $this->getTypeDef($type)){
1835 if(is_array($typeDef['attrs'])){
1836 foreach($typeDef['attrs'] as $attName => $data){
1841 if(count($typeDef['elements']) > 0){
1843 foreach($typeDef['elements'] as $element => $eData){
1847 } elseif($typeDef['typeClass'] == 'element') {
1869 if($typeDef = $this->getTypeDef($type)){
1871 if($typeDef['phpType'] == 'struct'){
1873 foreach($typeDef['elements'] as $child => $childDef){
1880 } elseif($typeDef['phpType'] == 'array'){
1884 <tr><td align='right'>array item (type: $typeDef[arrayType]):</td>
5448 $typeDef = $this->getTypeDef($localPart, $ns);
5449 if ($typeDef['typeClass'] == 'element') {
5548 if (!$typeDef = $this->getTypeDef($uqType, $ns)) {
5553 $this->appendDebug($this->varDump($typeDef));
5557 $phpType = $typeDef['phpType'];
5558 $arrayType = (isset($typeDef['arrayType']) ? $typeDef['arrayType'] : '');
5568 if (isset($typeDef['elements']) && is_array($typeDef['elements'])) {
5572 …impleOrStruct($parameters) == 'arraySimple' && count($parameters) == count($typeDef['elements'])) {
5576 foreach ($typeDef['elements'] as $name => $attrs) {
5951 if(!$typeDef = $this->getTypeDef($uqType, $ns)){
5957 $this->appendDebug('typeDef=' . $this->varDump($typeDef));
5962 $phpType = $typeDef['phpType'];
5963 …$uqType, ns: $ns, phptype: $phpType, arrayType: " . (isset($typeDef['arrayType']) ? $typeDef['arra…
5966 if (isset($typeDef['typeClass']) && $typeDef['typeClass'] == 'element') {
5968 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
5995 $elementAttrs = $this->serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType);
6006 … $xml .= $this->serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use, $encodingStyle);
6014 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
6033 $this->getPrefixFromNamespace($this->getPrefix($typeDef['arrayType'])) .
6035 $this->getLocalPart($typeDef['arrayType'])."[0]\"/>";
6040 if (isset($typeDef['multidimensional'])) {
6054 $this->debug("serializing array element: $k, $v of type: $typeDef[arrayType]");
6056 if (!in_array($typeDef['arrayType'],$this->typemap['http://www.w3.org/2001/XMLSchema'])) {
6076 .$this->getPrefixFromNamespace($this->getPrefix($typeDef['arrayType']))
6077 .":".$this->getLocalPart($typeDef['arrayType'])."[$rows$cols]\">"
6082 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
6108 * @param array $typeDef our internal representation of an XML schema type (or element)
6115 function serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType) { argument
6117 if (isset($typeDef['attrs']) && is_array($typeDef['attrs'])) {
6127 foreach ($typeDef['attrs'] as $aName => $attrs) {
6149 if (isset($typeDef['extensionBase'])) {
6150 $ns = $this->getPrefix($typeDef['extensionBase']);
6151 $uqType = $this->getLocalPart($typeDef['extensionBase']);
6155 if ($typeDef = $this->getTypeDef($uqType, $ns)) {
6157 $xml .= $this->serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType);
6168 * @param array $typeDef our internal representation of an XML schema type (or element)
6177 …function serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use='encoded', $encodingSty… argument
6179 if (isset($typeDef['elements']) && is_array($typeDef['elements'])) {
6190 if (count($typeDef['elements']) != count($xvalue)){
6193 foreach ($typeDef['elements'] as $eName => $attrs) {
6249 if (isset($typeDef['extensionBase'])) {
6250 $ns = $this->getPrefix($typeDef['extensionBase']);
6251 $uqType = $this->getLocalPart($typeDef['extensionBase']);
6255 if ($typeDef = $this->getTypeDef($uqType, $ns)) {
6257 … $xml .= $this->serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use, $encodingStyle);