BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BsPARAMTYPE Class Reference
Collaboration diagram for BsPARAMTYPE:

Public Attributes

const RAW = 64
 
const INT = 128
 
const FLOAT = 256
 
const NUMERIC = 512
 
const BOOL = 1024
 
const STRING = 2048
 
const SQL_STRING = 4096
 
const ARRAY_MIXED = 8192
 
const ARRAY_INT = 16384
 
const ARRAY_FLOAT = 32768
 
const ARRAY_NUMERIC = 65536
 
const ARRAY_BOOL = 131072
 
const ARRAY_STRING = 262144
 

Detailed Description

Enum BsPARAMTYPE Option for BsCore::getParam(), BsCore::sanitize() and BsCore::sanitizeArrayEntry().

Member Data Documentation

const BsPARAMTYPE::ARRAY_BOOL = 131072

BsPARAMTYPE::ARRAY_BOOL Parameter has to be an Array. Each contained value has to be of type Boolean.

const BsPARAMTYPE::ARRAY_FLOAT = 32768

BsPARAMTYPE::ARRAY_FLOAT Parameter has to be an Array. Each contained value has to be of type Float.

const BsPARAMTYPE::ARRAY_INT = 16384

BsPARAMTYPE::INT Parameter has to be an Array. Each contained value has to be of type Int/Integer.

const BsPARAMTYPE::ARRAY_MIXED = 8192

BsPARAMTYPE::ARRAY_MIXED Parameter has to be an Array. There will be no type checking of the contained values.

const BsPARAMTYPE::ARRAY_NUMERIC = 65536

BsPARAMTYPE::ARRAY_NUMERIC Parameter has to be an Array. Each contained value has to be numeric.

const BsPARAMTYPE::ARRAY_STRING = 262144

BsPARAMTYPE::ARRAY_STRING Parameter has to be an Array. Each contained value has to be of type String.

const BsPARAMTYPE::BOOL = 1024

BsPARAMTYPE::BOOL Parameter has to be of type Boolean.

const BsPARAMTYPE::FLOAT = 256

BsPARAMTYPE::FLOAT Parameter has to be of type Float.

const BsPARAMTYPE::INT = 128

BsPARAMTYPE::INT Parameter has to be of type Int/Integer.

const BsPARAMTYPE::NUMERIC = 512

BsPARAMTYPE::NUMERIC Parameter has to be numeric.

const BsPARAMTYPE::RAW = 64

BsPARAMTYPE::RAW No type checking.

const BsPARAMTYPE::SQL_STRING = 4096

BsPARAMTYPE::SQL_STRING Parameter has to be of type String. Several operations will be executed to prevent SQL injection by this value.

const BsPARAMTYPE::STRING = 2048

BsPARAMTYPE::STRING Parameter has to be of type String.


The documentation for this class was generated from the following file: