You are here

public static function Pagination::instance in Pagination (Node) 7

Retrieve an instance of the Pagination class.

Return value

an instance of the Pagination class.

8 calls to Pagination::instance()
pagination_admin_settings in ./pagination.admin.inc
Form handler for administrative settings.
pagination_block_view in ./pagination.module
Implementation of hook_block_view().
pagination_field_extra_fields in ./pagination.module
Implements hook_field_extra_fields().
pagination_form_alter in ./pagination.module
Implementation of hook_form_alter()
pagination_node_delete in ./pagination.module
Implementation of hook_node_delete()

... See full list

File

includes/Pagination.inc, line 36

Class

Pagination
Handles all the pagination logic

Code

public static function instance() {
  if (!self::$instance) {
    self::$instance = new Pagination();
  }
  return self::$instance;
}