Lines Matching refs:typeDef
936 $typeDef = $this->getTypeDef($localPart, $ns);
937 if ($typeDef['typeClass'] == 'element') {
1036 if (!$typeDef = $this->getTypeDef($uqType, $ns)) {
1041 $this->appendDebug($this->varDump($typeDef));
1045 $phpType = $typeDef['phpType'];
1046 $arrayType = (isset($typeDef['arrayType']) ? $typeDef['arrayType'] : '');
1056 if (isset($typeDef['elements']) && is_array($typeDef['elements'])) {
1060 …impleOrStruct($parameters) == 'arraySimple' && count($parameters) == count($typeDef['elements'])) {
1064 foreach ($typeDef['elements'] as $name => $attrs) {
1420 if(!$typeDef = $this->getTypeDef($uqType, $ns)){
1426 $this->appendDebug('typeDef=' . $this->varDump($typeDef));
1431 $phpType = $typeDef['phpType'];
1432 …$uqType, ns: $ns, phptype: $phpType, arrayType: " . (isset($typeDef['arrayType']) ? $typeDef['arra…
1435 if (isset($typeDef['typeClass']) && $typeDef['typeClass'] == 'element') {
1437 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
1464 $elementAttrs = $this->serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType);
1475 … $xml .= $this->serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use, $encodingStyle);
1483 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
1502 $this->getPrefixFromNamespace($this->getPrefix($typeDef['arrayType'])) .
1504 $this->getLocalPart($typeDef['arrayType'])."[0]\"/>";
1509 if (isset($typeDef['multidimensional'])) {
1523 $this->debug("serializing array element: $k, $v of type: $typeDef[arrayType]");
1525 if (!in_array($typeDef['arrayType'],$this->typemap['http://www.w3.org/2001/XMLSchema'])) {
1545 .$this->getPrefixFromNamespace($this->getPrefix($typeDef['arrayType']))
1546 .":".$this->getLocalPart($typeDef['arrayType'])."[$rows$cols]\">"
1551 if (isset($typeDef['form']) && ($typeDef['form'] == 'qualified')) {
1577 * @param array $typeDef our internal representation of an XML schema type (or element)
1584 function serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType) { argument
1586 if (isset($typeDef['attrs']) && is_array($typeDef['attrs'])) {
1596 foreach ($typeDef['attrs'] as $aName => $attrs) {
1618 if (isset($typeDef['extensionBase'])) {
1619 $ns = $this->getPrefix($typeDef['extensionBase']);
1620 $uqType = $this->getLocalPart($typeDef['extensionBase']);
1624 if ($typeDef = $this->getTypeDef($uqType, $ns)) {
1626 $xml .= $this->serializeComplexTypeAttributes($typeDef, $value, $ns, $uqType);
1637 * @param array $typeDef our internal representation of an XML schema type (or element)
1646 …function serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use='encoded', $encodingSty… argument
1648 if (isset($typeDef['elements']) && is_array($typeDef['elements'])) {
1659 if (count($typeDef['elements']) != count($xvalue)){
1662 foreach ($typeDef['elements'] as $eName => $attrs) {
1718 if (isset($typeDef['extensionBase'])) {
1719 $ns = $this->getPrefix($typeDef['extensionBase']);
1720 $uqType = $this->getLocalPart($typeDef['extensionBase']);
1724 if ($typeDef = $this->getTypeDef($uqType, $ns)) {
1726 … $xml .= $this->serializeComplexTypeElements($typeDef, $value, $ns, $uqType, $use, $encodingStyle);