1 | <?php |
||
8 | class Carbon_Pagination_Posts 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() ) { |
|
36 | |||
37 | /** |
||
38 | * Get the URL to a certain page. |
||
39 | * |
||
40 | * @param int $page_number The page number. |
||
41 | * @param string $old_url Optional. The URL to add the page number to. |
||
42 | * @return string $url The URL to the page number. |
||
43 | */ |
||
44 | 4 | public function get_page_url( $page_number, $old_url = '' ) { |
|
49 | |||
50 | } |