Constants

Below is a comprehensive list of predefined constants in Smart Report Engine. These constants are utilized as parameters in various methods to reference different value types, including data types, access types, data sources, and paths. All predefined constants in Smart Report Engine begin with the prefix 'SRE_'.
Constant Description
SRE_PUBLIC_REPORT This is a report access type, that makes the report accessible by anyone without any session validation.
SRE_PRIVATE_REPORT This a report access type that requires the engine to check the user's session, before allowing him/her to access the report. These session validations could be something like checking for the existance of a certain session key or any other session validations that is defined by calling one or more of the “security_check_session_” methods.
SRE_NUMBER Any numeric data type.
SRE_TEXT Any string data type.
SRE_ARRAY An array data type.
SRE_DATE A date data type.
SRE_BOOLEAN A boolean data type.
SRE_DATA_TYPES All data types supported by smart report engine.
SRE_Table A table data source
SRE_SQL A sql query data source