Next / Previous / Contents / TCC Help System / NM Tech homepage

7.19. class Inputs: All the script's input

An instance of this class contains all the inputs to the script. Here is the interface:

I = Inputs()

Returns an instance containing all the inputs to the script.

I.userId

If the user had an existing cookie for us, its user ID is in this attribute as a string; otherwise it is an empty string.

I.next

True if the user clicked the Next chapter button, otherwise False.

I.prev

True if the user clicked the Previous chapter button, otherwise False.

I.forget

True if the user clicked on Forget me, otherwise False.

I.persist

True if the user selected a persistent cookie, otherwise False.