Back to index

php5  5.3.10
Public Member Functions | Public Attributes
Soap12test Class Reference

List of all members.

Public Member Functions

 echoOk ($x)
 echoString ($inputString)
 echoStringArray ($inputStringArray)
 echoInteger ($inputInteger)
 echoIntegerArray ($inputIntegerArray)
 echoFloat ($inputFloat)
 echoFloatArray ($inputFloatArray)
 echoStruct ($x)
 echoStructArray ($x)
 echoVoid ()
 echoBase64 ($b_encoded)
 echoDate ($timeInstant)
 echoHexBinary ($hb)
 echoDecimal ($dec)
 echoBoolean ($boolean)
 echoStructAsSimpleTypes ($struct)
 echoSimpleTypesAsStruct ($string, $int, $float)
 echoNestedStruct ($struct)
 echo2DStringArray ($ary)
 echoNestedArray ($ary)
 countItems ($input)
 isNil ($input)
 returnVoid ()
 emptyBody ()
 requiredHeader ($x)
 echoHeader ()
 echoResolvedRef ($ref)
 validateCountryCode ($code)

Public Attributes

 $header

Detailed Description

Definition at line 2 of file soap12-test.inc.


Member Function Documentation

Soap12test::countItems ( input)

Definition at line 89 of file soap12-test.inc.

                                   {
              return count($input);
       }

Definition at line 81 of file soap12-test.inc.

                                        {
              return $ary;
       }
Soap12test::echoBase64 ( b_encoded)

Definition at line 45 of file soap12-test.inc.

                                       {
              return $b_encoded;
  }
Soap12test::echoBoolean ( boolean)

Definition at line 61 of file soap12-test.inc.

                                      {
              return $boolean;
       }
Soap12test::echoDate ( timeInstant)

Definition at line 49 of file soap12-test.inc.

                                       {
              return $timeInstant;
       }

Definition at line 57 of file soap12-test.inc.

                                  {
              return $dec;
       }
Soap12test::echoFloat ( inputFloat)

Definition at line 25 of file soap12-test.inc.

                                       {
              return $inputFloat;
       }
Soap12test::echoFloatArray ( inputFloatArray)

Definition at line 29 of file soap12-test.inc.

                                                 {
              return $inputFloatArray;
  }

Definition at line 107 of file soap12-test.inc.

                             {
         return $this->header;
       }

Definition at line 53 of file soap12-test.inc.

                                   {
              return $hb;
       }
Soap12test::echoInteger ( inputInteger)

Definition at line 17 of file soap12-test.inc.

                                           {
              return $inputInteger;
       }
Soap12test::echoIntegerArray ( inputIntegerArray)

Definition at line 21 of file soap12-test.inc.

                                                     {
              return $inputIntegerArray;
       }

Definition at line 85 of file soap12-test.inc.

                                      {
              return $ary;
       }

Definition at line 77 of file soap12-test.inc.

                                          {
              return $struct;
       }

Definition at line 5 of file soap12-test.inc.

                           {
       return $x;
       }

Definition at line 111 of file soap12-test.inc.

                                      {
         return $ref->RelativeReference->base.$ref->RelativeReference->href;
       }
Soap12test::echoSimpleTypesAsStruct ( string,
int,
float 
)

Definition at line 71 of file soap12-test.inc.

                                                               {
              return (object)array("varString" => $string,
                                                                                     "varInt"    => $int,
                                                                              "varFloat"  => $float);
       }
Soap12test::echoString ( inputString)

Definition at line 9 of file soap12-test.inc.

                                         {
              return $inputString;
       }
Soap12test::echoStringArray ( inputStringArray)

Definition at line 13 of file soap12-test.inc.

                                                   {
              return $inputStringArray;
       }

Definition at line 33 of file soap12-test.inc.

                               {
       return $x;
       }

Definition at line 37 of file soap12-test.inc.

                                    {
       return $x;
       }

Definition at line 65 of file soap12-test.inc.

                                                  {
               return array('outputString'  => $struct->varString,
                            'outputInteger' => $struct->varInt,
                            'outputFloat'   => $struct->varFloat);
       }

Definition at line 41 of file soap12-test.inc.

                           {
              return NULL;
       }

Definition at line 100 of file soap12-test.inc.

                            {
       }
Soap12test::isNil ( input)

Definition at line 93 of file soap12-test.inc.

                              {
              return is_null($input);
       }

Definition at line 103 of file soap12-test.inc.

                                   {
              $this->header = $x;
       }

Definition at line 97 of file soap12-test.inc.

                             {
       }

Definition at line 115 of file soap12-test.inc.

                                           {
              if (strlen($code) != 2) {
                return new SoapFault("Client", "Not a valid country code", NULL, NULL, NULL, new SoapHeader("http://example.org/ts-tests", "validateCountryCodeFault", "Country code must be 2 letters."));
              } else {
                     return "OK";
              }
       }

Member Data Documentation

Definition at line 3 of file soap12-test.inc.


The documentation for this class was generated from the following file: