Skip to content

1.1 Class GSArray PHP

Levi edited this page Jun 11, 2026 · 3 revisions

Description

Used for passing Arrays, for example when issuing requests or receiving response data.

The value may be one of the following types:

Constructor Summary

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.

Method Summary

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.

Clone this wiki locally