Amanu
Projektmanagement für Selbstständige und Freelancer
Sani Class Reference

Static Public Member Functions

static email ($email)
 
static validString ($string, $options=array())
 
static options ($input, $options)
 

Detailed Description

Has some nice sanitation functions

This file is part of the project codename "AMANUENSIS"

Author
Sebastian Antosch s.ant.nosp@m.osch.nosp@m.@i-sa.nosp@m.n.de

Member Function Documentation

static email (   $email)
static

Checks an Email

Parameters
string$email
Returns
string
Exceptions
Exception
static validString (   $string,
  $options = array() 
)
static

Check a string

Parameters
string$string- a string to validate
array$options- some options, can include minlength, maxlength, onlyletters
Returns
string
Exceptions
Exception
static options (   $input,
  $options 
)
static

check if input is in allowed set

Parameters
mixed$input
array$options
Returns
mixed
Exceptions
Exception

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