GetPostsQuery
class GetPostsQuery extends AbstractQuery
Builds URL for GetPosts REST-API calls.
Also holds the response after being executed.
Methods
__construct(string $resourceType, string $grouping, string $groupingName, array $tags = array(), string $hash = null, string $search = null, string $format = 'xml', int $start, int $end = 20)
The query constructor builds the url and saves it into the url property.
$this
execute(Client $httpClient)
Execute a prepared query.
string
bibliography(string $bibliographyStyleName, string $lang = 'en-US', string $bibliographyStyle = '')
No description
from AbstractQuery
Details
at line 61
__construct(string $resourceType, string $grouping, string $groupingName, array $tags = array(), string $hash = null, string $search = null, string $format = 'xml', int $start, int $end = 20)
The query constructor builds the url and saves it into the url property.
GET /users/[username]/posts ?tags=[t1+t2+...+tn] ?resourcetype=(bibtexǀbookmark)
at line 93
$this
execute(Client $httpClient)
Execute a prepared query.