rapila
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Flash Class Reference

Public Member Functions

 __construct ($aArrayToCheck=null)
 
 setArrayToCheck ($aArrayToCheck=null)
 
 addMessage ($sName, $mParameters=null, $sStringKey=null, $sClassName=null, $sTagName=null)
 
 addAffectedIndex ($sName, $iIndex)
 
 removeMessage ($sName)
 
 hasMessages ()
 
 hasMessage ($sMessageName)
 
 getMessages ()
 
 checkForNumber ($sName, $sFlashName=null)
 
 checkForInteger ($sName, $sFlashName=null)
 
 checkForLength ($sName, $iMin, $iMax=null, $sFlashName=null)
 
 checkForEmail ($sName, $sFlashName=null)
 
 checkForValue ($sName, $sFlashName=null)
 
 checkForPattern ($sName, $sPattern, $sFlashName=null)
 
 checkForExactNotMatch ($sName, $sString, $sFlashName=null)
 
 checkForExactMatch ($sName, $sString, $sFlashName=null)
 
 checkForFileUpload ($sName, $aAllowedMimeTypes=null, $bAllowEmpty=false)
 
 getMessage ($sName)
 
 getMessageProperties ($sName)
 
 finishReporting ()
 
 unfinishReporting ()
 
 stick ()
 
 __sleep ()
 
 __wakeup ()
 

Static Public Member Functions

static checkEmail ($sEmail)
 
static noErrors ()
 
static getFlash ()
 

Public Attributes

const FLASH_KEY = "flash_session_key"
 
const STRING_PARAMETERS_KEY = 'string_parameters'
 
const AFFECTED_INSTANCE_INDEXES_KEY = 'affected_instance_indexes'
 
const STRING_KEY_KEY = 'string_key'
 
const CLASS_NAME_KEY = 'class_name'
 
const TAG_NAME_KEY = 'tag_name'
 

Static Public Attributes

static $EMAIL_CHECK_PATTERN = "([\w._\-%+]+|\".+\")@[\w-]+(\.[\w-]+)*(\.\w+)"
 

Member Function Documentation

Flash::checkForEmail (   $sName,
  $sFlashName = null 
)
Todo:
: IDN-Support
Flash::checkForFileUpload (   $sName,
  $aAllowedMimeTypes = null,
  $bAllowEmpty = false 
)

adds the following flash messages if

static Flash::getFlash ( )
static
Returns
Flash The global Flash instance

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