Property | Type | Description | |
---|---|---|---|
$pagination | |||
$queryIterator | |||
$userQuery |
Method | Description | |
---|---|---|
__construct ( mixed $query = false, string $post_class = '\Timber\Post' ) | ||
pagination ( array $prefs = [] ) : Timber\Pagination | Set pagination for the collection. Optionally could be used to get pagination with custom preferences. |
Method | Description | |
---|---|---|
get_query ( ) : mixed |
public __construct ( mixed $query = false, string $post_class = '\Timber\Post' ) | ||
$query | mixed | |
$post_class | string |
public pagination ( array $prefs = [] ) : Timber\Pagination | ||
$prefs | array | |
return | Timber\Pagination | object |