Свойство | Тип | Описание | |
---|---|---|---|
$pagination | |||
$queryIterator | |||
$userQuery |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
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 | |
Результат | Timber\Pagination | object |