public static function enable_pagination_hook($options = array()) { $GLOBALS['pagination_group_hack'] = true; self::$pagination_options = $options; }