Method | Description | |
---|---|---|
getCurrentItem ( ) : mixed | ||
getFirstItem ( ) : mixed | ||
getFirstLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | ||
getLastItem ( ) : mixed | ||
getLastLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | null | ||
getNextItem ( ) : mixed | ||
getNextLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | null | ||
getPrevLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | null | ||
getPreviousItem ( ) : mixed | ||
getSelfLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link |
Method | Description | |
---|---|---|
appendQueryStringToUrl ( string $url, string $queryString ) : string | ||
createPaginatedLink ( string $url, mixed $cursor ) : WoohooLabs\Yin\JsonApi\Schema\Link | null |
public getFirstLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | ||
$url | string | |
return | WoohooLabs\Yin\JsonApi\Schema\Link |
public getLastLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | null | ||
$url | string | |
return | WoohooLabs\Yin\JsonApi\Schema\Link | null |
public getNextLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | null | ||
$url | string | |
return | WoohooLabs\Yin\JsonApi\Schema\Link | null |
public getPrevLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | null | ||
$url | string | |
return | WoohooLabs\Yin\JsonApi\Schema\Link | null |
public getSelfLink ( string $url ) : WoohooLabs\Yin\JsonApi\Schema\Link | ||
$url | string | |
return | WoohooLabs\Yin\JsonApi\Schema\Link |