List of input catchers

Type Class Purpose
InputCatcher::TYPE_BOOL Jet\InputCatcher_Bool Catches a bool type value.
InputCatcher::TYPE_DATE Jet\InputCatcher_Date Catches a date and returns it as an instance of Data_DateTime, or null (if input was not caught).
InputCatcher::TYPE_DATE_TIME Jet\InputCatcher_DateTime Catches date and time and returns it as an instance of Data_DateTime, or null (if input was not caught).
InputCatcher::TYPE_FILE Jet\InputCatcher_File Catches an uploaded file - or files - and returns them as an array of IO_UploadedFile class instances.
InputCatcher::TYPE_FLOAT Jet\InputCatcher_Float Catches a float type value. It also handles situations where ',' is used as a decimal separator on input instead of '.'. Automatic rounding can also be configured.
InputCatcher::TYPE_FLOATS Jet\InputCatcher_Floats Catches float type values and returns them as an array. It also handles situations where ',' is used as a decimal separator on input instead of '.'. Automatic rounding can also be configured. Ignoring empty (zero) values can also be set.
InputCatcher::TYPE_INT Jet\InputCatcher_Int Catches an int type value.
InputCatcher::TYPE_INTS Jet\InputCatcher_Ints Catches int type values and returns them as an array.
InputCatcher::TYPE_STRING Jet\InputCatcher_String Catches a string and immediately encodes HTML entities for security.
InputCatcher::TYPE_STRING_RAW Jet\InputCatcher_StringRaw Catches a string, but does not encode HTML. Can be used only where you are truly sure about security.
InputCatcher::TYPE_STRINGS Jet\InputCatcher_Strings Catches strings and returns them as an array. It also immediately encodes HTML entities for security.
Previous chapter
InputCatcher
Next chapter
Jet\InputCatcher_Bool