Cheetah
|
Public Member Functions | |
makeGraphObject ($subclassName=null) | |
makeGraphEvent () | |
makeGraphList ($subclassName=null, $auto_prefix=true) | |
![]() | |
__construct (FacebookResponse $response) | |
makeGraphNode ($subclassName=null) | |
makeGraphAchievement () | |
makeGraphAlbum () | |
makeGraphPage () | |
makeGraphSessionInfo () | |
makeGraphUser () | |
makeGraphGroup () | |
makeGraphEdge ($subclassName=null, $auto_prefix=true) | |
validateResponseAsArray () | |
validateResponseCastableAsGraphNode () | |
validateResponseCastableAsGraphEdge () | |
safelyMakeGraphNode (array $data, $subclassName=null) | |
castAsGraphNodeOrGraphEdge (array $data, $subclassName=null, $parentKey=null, $parentNodeId=null) | |
safelyMakeGraphEdge (array $data, $subclassName=null, $parentKey=null, $parentNodeId=null) | |
getMetaData (array $data) | |
Public Attributes | |
const | BASE_GRAPH_NODE_CLASS = '\Facebook\GraphNodes\GraphObject' |
const | BASE_GRAPH_EDGE_CLASS = '\Facebook\GraphNodes\GraphList' |
![]() | |
const | BASE_GRAPH_NODE_CLASS = '\Facebook\GraphNodes\GraphNode' |
const | BASE_GRAPH_EDGE_CLASS = '\Facebook\GraphNodes\GraphEdge' |
const | BASE_GRAPH_OBJECT_PREFIX = '\Facebook\GraphNodes\\' |
Additional Inherited Members | |
![]() | |
static | isCastableAsGraphEdge (array $data) |
static | validateSubclass ($subclassName) |
![]() | |
$response | |
$decodedBody | |
Definition at line 36 of file GraphObjectFactory.php.
Facebook\GraphNodes\GraphObjectFactory::makeGraphEvent | ( | ) |
Convenience method for creating a GraphEvent collection.
FacebookSDKException |
Reimplemented from Facebook\GraphNodes\GraphNodeFactory.
Definition at line 69 of file GraphObjectFactory.php.
Tries to convert a FacebookResponse entity into a GraphEdge.
string | null | $subclassName | The GraphNode sub class to cast the list items to. |
boolean | $auto_prefix | Toggle to auto-prefix the subclass name. |
Definition at line 84 of file GraphObjectFactory.php.
Facebook\GraphNodes\GraphObjectFactory::makeGraphObject | ( | $subclassName = null | ) |
Tries to convert a FacebookResponse entity into a GraphNode.
string | null | $subclassName | The GraphNode sub class to cast to. |
Definition at line 57 of file GraphObjectFactory.php.
const Facebook\GraphNodes\GraphObjectFactory::BASE_GRAPH_EDGE_CLASS = '\Facebook\GraphNodes\GraphList' |
@const string The base graph edge class.
Definition at line 46 of file GraphObjectFactory.php.
const Facebook\GraphNodes\GraphObjectFactory::BASE_GRAPH_NODE_CLASS = '\Facebook\GraphNodes\GraphObject' |
@const string The base graph object class.
Definition at line 41 of file GraphObjectFactory.php.