SObject
in package
Table of Contents
- $fields : mixed
- $type : mixed
- __construct() : mixed
- __get() : mixed
- __isset() : mixed
- convertFields() : mixed
- Parse the "any" string from an sObject. First strip out the sf: and then enclose string with <Object></Object>. Load the string using simplexml_load_string and return an array that can be traversed.
- isQueryResult() : mixed
- isSObject() : mixed
- xml2array() : array<string|int, mixed>
Properties
$fields
public
mixed
$fields
$type
public
mixed
$type
Methods
__construct()
public
__construct([mixed $response = NULL ]) : mixed
Parameters
- $response : mixed = NULL
Return values
mixed —__get()
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —__isset()
public
__isset(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —convertFields()
Parse the "any" string from an sObject. First strip out the sf: and then enclose string with <Object></Object>. Load the string using simplexml_load_string and return an array that can be traversed.
public
convertFields(mixed $any) : mixed
Parameters
- $any : mixed
Return values
mixed —isQueryResult()
public
isQueryResult(mixed $param) : mixed
Parameters
- $param : mixed
Return values
mixed —isSObject()
public
isSObject(mixed $param) : mixed
Parameters
- $param : mixed
Return values
mixed —xml2array()
public
xml2array(string $contents[, mixed $get_attributes = 1 ]) : array<string|int, mixed>
Parameters
- $contents : string
- $get_attributes : mixed = 1