CURRENT
CURRENT
Name of the current page link
An object to represent Canvas API pagination information.
As the whole point of CanvasPest is to abstract the actual API response out
of the way, concealing the mundane details of the response pagination, this
particular object is used only internally to create object-oriented access
to the API response's link
header.
__construct(string $pageUrl, string $pageName)
Construct a new Canvas page link object.
CanvasPageLinks can be constructed with two possible parameter lists:
string | $pageUrl | URL of the API endpoint to retrieve the page |
string | $pageName | Canonical name of the page relative to the current page. |
INVALID_CONSTRUCTOR If $pageUrl or $pageName is empty or a non-string