|
UniNews
University news from Greek and international universities in one place
|
Public Member Functions | |
| int | total_pages (self) |
| int | first_index (self) |
| int | last_index (self) |
| bool | has_previous (self) |
| bool | has_next (self) |
Public Attributes | |
| size | |
| articles | |
Static Public Attributes | |
| list | articles [Article] |
| int | number |
| int | size |
| int | total_articles |
One page of articles, plus what the pagination bar needs to draw itself.
| int uninews.library.Page.first_index | ( | self | ) |
1-based index of the first article shown, 0 when the page is empty.
| bool uninews.library.Page.has_next | ( | self | ) |
| bool uninews.library.Page.has_previous | ( | self | ) |
| int uninews.library.Page.last_index | ( | self | ) |
| int uninews.library.Page.total_pages | ( | self | ) |
|
static |
| uninews.library.Page.articles |
|
static |
|
static |
| uninews.library.Page.size |
|
static |