1 | <?php |
||
8 | class Carbon_Pagination_Comments extends Carbon_Pagination_HTML { |
||
9 | |||
10 | /** |
||
11 | * Constructor. |
||
12 | * Creates and configures a new pagination with the provided settings. |
||
13 | * |
||
14 | * @param array $args Configuration options to modify the pagination settings. |
||
15 | */ |
||
16 | 6 | public function __construct( $args = array() ) { |
|
35 | |||
36 | /** |
||
37 | * Retrieve the total number of comment pages. |
||
38 | * |
||
39 | * @return int $total Total number of comment pages. |
||
40 | */ |
||
41 | 4 | public function get_total_comment_pages() { |
|
56 | |||
57 | /** |
||
58 | * Get the URL to a certain page. |
||
59 | * |
||
60 | * @param int $page_number The page number. |
||
61 | * @param string $old_url Optional. The URL to add the page number to. |
||
62 | * @return string $url The URL to the page number. |
||
63 | */ |
||
64 | 4 | public function get_page_url( $page_number, $old_url = '' ) { |
|
67 | |||
68 | } |