Class myMVC_TypeCheck

Description

Many check function for database fields.

Used by myMVC_BaseDB-derived classes.

Located in /myMVC/TypeCheck.php (line 27)


	
			
Direct descendents
Class Description
 class myMVC_DatabaseConnector Generic database connector.
Method Summary
 static void checkAutoIncrementalId ( $value,  $type)
 static void checkBoolNotNull ( $value,  $type)
 static void checkBoolNull ( $value,  $type)
 static void checkDateNotNull ( $value,  $type)
 static void checkDateNull ( $value,  $type)
 static void checkDateTimeNotNull ( $value,  $type)
 static void checkDateTimeNull ( $value,  $type)
 static void checkDomainnameNotNull ( $value,  $type)
 static void checkDomainnameNull ( $value,  $type)
 static void checkEMailNotNull ( $value,  $type)
 static void checkEMailNull ( $value,  $type)
 static void checkIPNotNull ( $value,  $type)
 static void checkIPNull ( $value,  $type)
 static void checkMacNotNull ( $value,  $type)
 static void checkMacNull ( $value,  $type)
 static void checkMaskNotNull ( $value,  $type)
 static void checkMaskNull ( $value,  $type)
 static void checkNetworkNotNull ( $value,  $type)
 static void checkNetworkNull ( $value,  $type)
 static void checkSignedIntNotNull ( $value,  $type)
 static void checkSignedIntNull ( $value,  $type)
 static void checkSignedMediumIntNotNull ( $value,  $type)
 static void checkSignedMediumIntNull ( $value,  $type)
 static void checkSignedSmallIntNotNull ( $value,  $type)
 static void checkSignedSmallIntNull ( $value,  $type)
 static void checkSignedTinyIntNotNull ( $value,  $type)
 static void checkSignedTinyIntNull ( $value,  $type)
 static void checkString255NotNull ( $value,  $type)
 static void checkString255Null ( $value,  $type)
 static void checkTextNotNull ( $value,  $type)
 static void checkTextNull ( $value,  $type)
 static void checkTimeNotNull ( $value,  $type)
 static void checkTimeNull ( $value,  $type)
 static void checkUnsignedIntNotNull ( $value,  $type)
 static void checkUnsignedIntNull ( $value,  $type)
 static void checkUnsignedMediumIntNotNull ( $value,  $type)
 static void checkUnsignedMediumIntNull ( $value,  $type)
 static void checkUnsignedSmallIntNotNull ( $value,  $type)
 static void checkUnsignedSmallIntNull ( $value,  $type)
 static void checkUnsignedTinyIntNotNull ( $value,  $type)
 static void checkUnsignedTinyIntNull ( $value,  $type)
 static void checkURLNotNull ( $value,  $type)
 static void checkURLNull ( $value,  $type)
Methods
static checkAutoIncrementalId (line 32)

Check function for typical autoincrement ID (INT(11) NOT NULL)

  • access: public
void checkAutoIncrementalId ( $value,  $type)
  • $value
  • $type
static checkBoolNotNull (line 219)

Check function for boolean value NOT NULL

  • access: public
void checkBoolNotNull ( $value,  $type)
  • $value
  • $type
static checkBoolNull (line 230)

Check function for boolean value NULL

  • access: public
void checkBoolNull ( $value,  $type)
  • $value
  • $type
static checkDateNotNull (line 399)

Check function for date NOT NULL (Format: YYYY-MM-DD)

  • access: public
void checkDateNotNull ( $value,  $type)
  • $value
  • $type
static checkDateNull (line 418)

Check function for date NULL (Format: YYYY-MM-DD)

  • access: public
void checkDateNull ( $value,  $type)
  • $value
  • $type
static checkDateTimeNotNull (line 479)

Check function for date NOT NULL (Format: YYYY-MM-DD HH:MM:SS)

  • access: public
void checkDateTimeNotNull ( $value,  $type)
  • $value
  • $type
static checkDateTimeNull (line 502)

Check function for date NULL (Format: YYYY-MM-DD HH:MM:SS)

  • access: public
void checkDateTimeNull ( $value,  $type)
  • $value
  • $type
static checkDomainnameNotNull (line 361)

Check function for domain name NOT NULL

  • access: public
void checkDomainnameNotNull ( $value,  $type)
  • $value
  • $type
static checkDomainnameNull (line 380)

Check function for domain name NULL

  • access: public
void checkDomainnameNull ( $value,  $type)
  • $value
  • $type
static checkEMailNotNull (line 285)

Check function for E-Mail address NOT NULL

  • access: public
void checkEMailNotNull ( $value,  $type)
  • $value
  • $type
static checkEMailNull (line 304)

Check function for E-Mail address NULL

  • access: public
void checkEMailNull ( $value,  $type)
  • $value
  • $type
static checkIPNotNull (line 525)

Check function for IPv4 addresses (NOT NULL)

  • access: public
void checkIPNotNull ( $value,  $type)
  • $value
  • $type
static checkIPNull (line 536)

Check function for IPv4 addresses (NULL)

  • access: public
void checkIPNull ( $value,  $type)
  • $value
  • $type
static checkMacNotNull (line 550)

Check function for MAC addresses (NOT NULL)

  • access: public
void checkMacNotNull ( $value,  $type)
  • $value
  • $type
static checkMacNull (line 561)

Check function for MAC addresses (NULL)

  • access: public
void checkMacNull ( $value,  $type)
  • $value
  • $type
static checkMaskNotNull (line 600)

Check function for IPv4 netmask (NOT NULL)

  • access: public
void checkMaskNotNull ( $value,  $type)
  • $value
  • $type
static checkMaskNull (line 609)

Check function for IPv4 netmask (NULL)

  • access: public
void checkMaskNull ( $value,  $type)
  • $value
  • $type
static checkNetworkNotNull (line 575)

Check function for IPv4 network (NOT NULL)

  • access: public
void checkNetworkNotNull ( $value,  $type)
  • $value
  • $type
static checkNetworkNull (line 586)

Check function for IPv4 network (NULL)

  • access: public
void checkNetworkNull ( $value,  $type)
  • $value
  • $type
static checkSignedIntNotNull (line 43)

Check function for Signed INT NOT NULL

  • access: public
void checkSignedIntNotNull ( $value,  $type)
  • $value
  • $type
static checkSignedIntNull (line 65)

Check function for Signed INT NULL

  • access: public
void checkSignedIntNull ( $value,  $type)
  • $value
  • $type
static checkSignedMediumIntNotNull (line 87)

Check function for Signed MEDIUMINT NOT NULL

  • access: public
void checkSignedMediumIntNotNull ( $value,  $type)
  • $value
  • $type
static checkSignedMediumIntNull (line 109)

Check function for Signed MEDIUMINT NULL

  • access: public
void checkSignedMediumIntNull ( $value,  $type)
  • $value
  • $type
static checkSignedSmallIntNotNull (line 131)

Check function for Signed SMALLINT NOT NULL

  • access: public
void checkSignedSmallIntNotNull ( $value,  $type)
  • $value
  • $type
static checkSignedSmallIntNull (line 153)

Check function for Signed SMALLINT NULL

  • access: public
void checkSignedSmallIntNull ( $value,  $type)
  • $value
  • $type
static checkSignedTinyIntNotNull (line 175)

Check function for Signed TINYINT NOT NULL

  • access: public
void checkSignedTinyIntNotNull ( $value,  $type)
  • $value
  • $type
static checkSignedTinyIntNull (line 197)

Check function for Signed TINYINT NULL

  • access: public
void checkSignedTinyIntNull ( $value,  $type)
  • $value
  • $type
static checkString255NotNull (line 241)

Check function for VARCHAR(255) NOT NULL

  • access: public
void checkString255NotNull ( $value,  $type)
  • $value
  • $type
static checkString255Null (line 252)

Check function for VARCHAR(255) NULL

  • access: public
void checkString255Null ( $value,  $type)
  • $value
  • $type
static checkTextNotNull (line 263)

Check function for TEXT NOT NULL

  • access: public
void checkTextNotNull ( $value,  $type)
  • $value
  • $type
static checkTextNull (line 274)

Check function for TEXT NULL

  • access: public
void checkTextNull ( $value,  $type)
  • $value
  • $type
static checkTimeNotNull (line 437)

Check function for time NOT NULL (Format: HH:MM:SS)

  • access: public
void checkTimeNotNull ( $value,  $type)
  • $value
  • $type
static checkTimeNull (line 458)

Check function for time NULL (Format: HH:MM:SS)

  • access: public
void checkTimeNull ( $value,  $type)
  • $value
  • $type
static checkUnsignedIntNotNull (line 54)

Check function for Unsigned INT NOT NULL

  • access: public
void checkUnsignedIntNotNull ( $value,  $type)
  • $value
  • $type
static checkUnsignedIntNull (line 76)

Check function for Unsigned INT NULL

  • access: public
void checkUnsignedIntNull ( $value,  $type)
  • $value
  • $type
static checkUnsignedMediumIntNotNull (line 98)

Check function for Unsigned MEDIUMINT NOT NULL

  • access: public
void checkUnsignedMediumIntNotNull ( $value,  $type)
  • $value
  • $type
static checkUnsignedMediumIntNull (line 120)

Check function for Unsigned MEDIUMINT NULL

  • access: public
void checkUnsignedMediumIntNull ( $value,  $type)
  • $value
  • $type
static checkUnsignedSmallIntNotNull (line 142)

Check function for Unsigned SMALLINT NOT NULL

  • access: public
void checkUnsignedSmallIntNotNull ( $value,  $type)
  • $value
  • $type
static checkUnsignedSmallIntNull (line 164)

Check function for Unsigned SMALLINT NULL

  • access: public
void checkUnsignedSmallIntNull ( $value,  $type)
  • $value
  • $type
static checkUnsignedTinyIntNotNull (line 186)

Check function for Unsigned TINYINT NOT NULL

  • access: public
void checkUnsignedTinyIntNotNull ( $value,  $type)
  • $value
  • $type
static checkUnsignedTinyIntNull (line 208)

Check function for Unsigned TINYINT NULL

  • access: public
void checkUnsignedTinyIntNull ( $value,  $type)
  • $value
  • $type
static checkURLNotNull (line 323)

Check function for URL NOT NULL

  • access: public
void checkURLNotNull ( $value,  $type)
  • $value
  • $type
static checkURLNull (line 342)

Check function for URL NULL

  • access: public
void checkURLNull ( $value,  $type)
  • $value
  • $type

Documentation generated on Thu, 05 Jan 2017 12:47:15 +0100 by phpDocumentor 1.4.4