-
Notifications
You must be signed in to change notification settings - Fork 14
1.1 Class GSArray PHP
Levi edited this page Jun 11, 2026
·
3 revisions
Used for passing Arrays, for example when issuing requests or receiving response data.
The value may be one of the following types:
| Class Name | Description |
|---|---|
| GSArray | Used for passing Arrays, for example when issuing requests or receiving response data. |
| GSObject | Used for passing parameters, for example when issuing requests or receiving response data. |
| GSRequest | A Request to Gigya Socialize API. |
| GSResponse | Wraps the server's response. |
| SigUtils | Utility class for generating and validating signatures. |
| Return | Method | Description |
|---|---|---|
| void | add(mixed $value) | Adds a value to the array. |
| integer | getInt(integer $index) | Type specific methods for retrieving value by index. |
| long | getLong(integer $index) | Type specific methods for retrieving value by index. |
| double | getDouble(integer $index) | Type specific methods for retrieving value by index. |
| Boolean | getBool(integer $index) | Type specific methods for retrieving value by index. |
| string | getString(integer $index) | Type specific methods for retrieving value by index. |
| GSObject | getObject(integer $index) | Type specific methods for retrieving value by index. |
| GSArray | getArray(integer $index) | Type specific methods for retrieving value by index. |
| integer | length() | Returns the array's length. |
| string | toJsonString() | Returns the array's content as a JSON string. |
| string | toString() | Returns the array's content as a JSON string. |