libraryconsole

Vars | |
author | The author we're searching for |
---|---|
can_connect | Can we connect to the db? |
category | The category we're searching for |
db_request_cooldown | Prevents spamming requests, acts as a second layer of protection against spam |
interface_type | Interface name for the ui_interact call for different subtypes. |
last_search_hash | A hash of the last search we did, prevents spam in a different way then the cooldown |
page_content | The results of our last query |
page_count | The the total pages last we checked |
params_changed | Have the search params changed at all since the last search? |
search_page | The page of our current query |
sending_request | Are we currently sending a db request for books? |
title | The current title we're searching for |
Procs | |
convert_ambiguous_input | Takes input that could either be a number, or a string that represents a number and returns a number |
prevent_db_spam | Checks if the machine is alloweed to make another db request yet. TRUE if so, FALSE otherwise |
sanitize_page_input | Returns a santized page input, so converted from num/text to num, and properly maxed |
Var Details
author

The author we're searching for
can_connect

Can we connect to the db?
category

The category we're searching for
db_request_cooldown

Prevents spamming requests, acts as a second layer of protection against spam
interface_type

Interface name for the ui_interact call for different subtypes.
last_search_hash

A hash of the last search we did, prevents spam in a different way then the cooldown
page_content

The results of our last query
page_count

The the total pages last we checked
params_changed

Have the search params changed at all since the last search?
search_page

The page of our current query
sending_request

Are we currently sending a db request for books?
title

The current title we're searching for
Proc Details
convert_ambiguous_input
Takes input that could either be a number, or a string that represents a number and returns a number
prevent_db_spam
Checks if the machine is alloweed to make another db request yet. TRUE if so, FALSE otherwise
sanitize_page_input
Returns a santized page input, so converted from num/text to num, and properly maxed