init_cache() init_cache(mixed $page) Method init_cache() Set session variables. Parameters mixed $page Page information.
add_context() add_context(mixed $page, array $context) Method add_context() Set time & search context. Parameters mixed $page Page information. array $context Search context.
add_body() add_body(string $page, mixed $body) Method add_body() Set search body session variable. Parameters string $page Page information.. mixed $body Search body.
get_cached_context() get_cached_context(mixed $page) : array Method get_cached_context() Grab any cached searches. Parameters mixed $page Page information. Returns array — $cachedSearch Cached search array.
echo_body() echo_body(mixed $page) Method echo_body() Grab & echo cached search body. Parameters mixed $page Page information.
add_result() add_result(mixed $page, mixed $result) Method add_result() Grab search results & store them in session. Parameters mixed $page Page information. mixed $result Search results.
get_cached_result() get_cached_result(mixed $page) Method get_cached_result() Grab cached search results. Parameters mixed $page Page information.