Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Blogger_PostUserInfos_Resource Class Reference

The "postUserInfos" collection of methods. More...

Inheritance diagram for Google_Service_Blogger_PostUserInfos_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($userId, $blogId, $postId, $optParams=array())
 Gets one post and user info pair, by post ID and user ID.
 
 listPostUserInfos ($userId, $blogId, $optParams=array())
 Retrieves a list of post and post user info pairs, possibly filtered.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "postUserInfos" collection of methods.

Typical usage is: $bloggerService = new Google_Service_Blogger(...); $postUserInfos = $bloggerService->postUserInfos;

Member Function Documentation

◆ 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
Google_Exception

◆ get()

Google_Service_Blogger_PostUserInfos_Resource::get ( $userId,
$blogId,
$postId,
$optParams = array() )

Gets one post and user info pair, by post ID and user ID.

The post user info contains per-user information about the post, such as access rights, specific to the user. (postUserInfos.get)

Parameters
string$userIdID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.
string$blogIdThe ID of the blog.
string$postIdThe ID of the post to get.
array$optParamsOptional parameters.

@opt_param string maxComments Maximum number of comments to pull back on a post.

Return values
Google_Service_Blogger_PostUserInfo

◆ listPostUserInfos()

Google_Service_Blogger_PostUserInfos_Resource::listPostUserInfos ( $userId,
$blogId,
$optParams = array() )

Retrieves a list of post and post user info pairs, possibly filtered.

The post user info contains per-user information about the post, such as access rights, specific to the user. (postUserInfos.listPostUserInfos)

Parameters
string$userIdID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.
string$blogIdID of the blog to fetch posts from.
array$optParamsOptional parameters.

@opt_param string orderBy Sort order applied to search results. Default is published. @opt_param string startDate Earliest post date to fetch, a date-time with RFC 3339 formatting. @opt_param string endDate Latest post date to fetch, a date-time with RFC 3339 formatting. @opt_param string labels Comma-separated list of labels to search for. @opt_param string maxResults Maximum number of posts to fetch. @opt_param string pageToken Continuation token if the request is paged. @opt_param string status @opt_param bool fetchBodies Whether the body content of posts is included. Default is false. @opt_param string view Access level with which to view the returned result. Note that some fields require elevated access.

Return values
Google_Service_Blogger_PostUserInfosList

The documentation for this class was generated from the following file: