The "pages" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($blogId, $pageId, $optParams=array()) |
| Delete a page by ID.
|
|
| get ($blogId, $pageId, $optParams=array()) |
| Gets one blog page by ID.
|
|
| insert ($blogId, Google_Service_Blogger_Page $postBody, $optParams=array()) |
| Add a page.
|
|
| listPages ($blogId, $optParams=array()) |
| Retrieves the pages for a blog, optionally including non-LIVE statuses.
|
|
| patch ($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams=array()) |
| Update a page.
|
|
| publish ($blogId, $pageId, $optParams=array()) |
| Publishes a draft page.
|
|
| revert ($blogId, $pageId, $optParams=array()) |
| Revert a published or scheduled page to draft state.
|
|
| update ($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams=array()) |
| Update a page.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "pages" collection of methods.
Typical usage is: $bloggerService = new Google_Service_Blogger(...); $pages = $bloggerService->pages;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ delete()
Google_Service_Blogger_Pages_Resource::delete |
( |
| $blogId, |
|
|
| $pageId, |
|
|
| $optParams = array() ) |
Delete a page by ID.
(pages.delete)
- Parameters
-
string | $blogId | The ID of the Blog. |
string | $pageId | The ID of the Page. |
array | $optParams | Optional parameters. |
◆ get()
Google_Service_Blogger_Pages_Resource::get |
( |
| $blogId, |
|
|
| $pageId, |
|
|
| $optParams = array() ) |
Gets one blog page by ID.
(pages.get)
- Parameters
-
string | $blogId | ID of the blog containing the page. |
string | $pageId | The ID of the page to get. |
array | $optParams | Optional parameters. |
@opt_param string view
- Return values
-
◆ insert()
Add a page.
(pages.insert)
- Parameters
-
string | $blogId | ID of the blog to add the page to. |
Google_Page | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool isDraft Whether to create the page as a draft (default: false).
- Return values
-
◆ listPages()
Google_Service_Blogger_Pages_Resource::listPages |
( |
| $blogId, |
|
|
| $optParams = array() ) |
Retrieves the pages for a blog, optionally including non-LIVE statuses.
(pages.listPages)
- Parameters
-
string | $blogId | ID of the blog to fetch Pages from. |
array | $optParams | Optional parameters. |
@opt_param string status @opt_param string maxResults Maximum number of Pages to fetch. @opt_param string pageToken Continuation token if the request is paged. @opt_param bool fetchBodies Whether to retrieve the Page bodies. @opt_param string view Access level with which to view the returned result. Note that some fields require elevated access.
- Return values
-
◆ patch()
Update a page.
This method supports patch semantics. (pages.patch)
- Parameters
-
string | $blogId | The ID of the Blog. |
string | $pageId | The ID of the Page. |
Google_Page | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool revert Whether a revert action should be performed when the page is updated (default: false). @opt_param bool publish Whether a publish action should be performed when the page is updated (default: false).
- Return values
-
◆ publish()
Google_Service_Blogger_Pages_Resource::publish |
( |
| $blogId, |
|
|
| $pageId, |
|
|
| $optParams = array() ) |
Publishes a draft page.
(pages.publish)
- Parameters
-
string | $blogId | The ID of the blog. |
string | $pageId | The ID of the page. |
array | $optParams | Optional parameters. |
- Return values
-
◆ revert()
Google_Service_Blogger_Pages_Resource::revert |
( |
| $blogId, |
|
|
| $pageId, |
|
|
| $optParams = array() ) |
Revert a published or scheduled page to draft state.
(pages.revert)
- Parameters
-
string | $blogId | The ID of the blog. |
string | $pageId | The ID of the page. |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Update a page.
(pages.update)
- Parameters
-
string | $blogId | The ID of the Blog. |
string | $pageId | The ID of the Page. |
Google_Page | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool revert Whether a revert action should be performed when the page is updated (default: false). @opt_param bool publish Whether a publish action should be performed when the page is updated (default: false).
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Blogger.php