|
Prismic.io PHP kit
3.0.0
|
Public Member Functions | |
| __construct (array $refs, array $bookmarks, array $types, array $tags, array $forms, Experiments $experiments, $oauth_initiate, $oauth_token) | |
| getRefs () | |
| getBookmarks () | |
| getTypes () | |
| getTags () | |
| getForms () | |
| getExperiments () | |
| getOauthInitiate () | |
| getOauthToken () | |
Embodies structured data that can be wished to be used while manipulating a prismic.io API. This is not supposed to be used to call a repository's API, this is solely for manipulation purpose by the class Prismic::Api.
| Prismic\ApiData::__construct | ( | array | $refs, |
| array | $bookmarks, | ||
| array | $types, | ||
| array | $tags, | ||
| array | $forms, | ||
| Experiments | $experiments, | ||
| $oauth_initiate, | |||
| $oauth_token | |||
| ) |
A constructor to build the object when you've retrieved all the data you need.
| array | $refs | |
| array | $bookmarks | |
| array | $types | |
| array | $tags | |
| array | $forms | |
| Experiments | $experiments | |
| string | $oauth_initiate | |
| string | $oauth_token |
| Prismic\ApiData::getBookmarks | ( | ) |
Get the bookmarks
| Prismic\ApiData::getExperiments | ( | ) |
Get the Experiments
| Prismic\ApiData::getForms | ( | ) |
Get the forms
| Prismic\ApiData::getOauthInitiate | ( | ) |
Get the endpoint to initiate OAuth
| Prismic\ApiData::getOauthToken | ( | ) |
Get the endpoint to run OAuth
| Prismic\ApiData::getRefs | ( | ) |
Get the refs
| Prismic\ApiData::getTags | ( | ) |
Get the tags
| Prismic\ApiData::getTypes | ( | ) |
Get the types
1.8.12