Phenotype API Documentation

Class PhenotypeBase

Description
Description | Descendents | Vars (details) | Methods (details)
Variable Summary
mixed $charset
mixed $_props
Method Summary
PhenotypeBase __construct ()
void check$k)
void clear$property)
void codeA$s, [ $allowedchars = PT_ALPHANUMERIC])
void codeAH$s, [ $allowedchars = PT_ALPHANUMERIC])
void codeH$s)
void codeHBR$s)
string codeHKT (unknown_type $s)
integer codeI (string $s)
unknown codeSQL (unknown_type $s)
void codeX$s, [ $utf8 = false])
void get$property, [ $default = null])
void getA$property, [ $allowedchars = PT_ALPHANUMERIC], [ $default = null])
void getAH$property, [ $allowedchars = PT_ALPHANUMERIC], [ $default = null])
void getD$property,  $decimals, [ $default = null])
void getH$property, [ $default = null])
void getHBR$property, [ $default = null])
void getHTML$property, [ $default = null])
void getI$property, [ $default = null], [ $min = null], [ $max = null])
void getQ$property)
void getS$property)
void getSQL$property, [ $default = null])
string getU (string $property, [string $default = null])
void getURL$property, [ $default = null])
void getX$property, [ $default = null])
void isValidEmail$property, [ $strict = false])
void isValidInteger$property, [ $strict = false], [ $min = null], [ $max = null])
void isValidProperty$property)
void isValidSelection$property,  $_options, [ $strict = false])
void isValidString$property, [ $allowedchars = PT_ALPHA], [ $strict = false])
void printProperties ()
void set$property,  $value)
void setValidationError$number,  $string)
void urlencode$url)
Variables
mixed $charset = "" (line 28)
  • access: public
mixed $_props = array () (line 31)
  • access: public
Methods
check (line 39)
  • access: public
void check$k)
  • $k
clear (line 53)
  • access: public
void clear$property)
  • $property
codeA (line 315)
  • access: public
void codeA$s, [ $allowedchars = PT_ALPHANUMERIC])
  • $s
  • $allowedchars
codeAH (line 321)
  • access: public
void codeAH$s, [ $allowedchars = PT_ALPHANUMERIC])
  • $s
  • $allowedchars
codeH (line 249)
  • access: public
void codeH$s)
  • $s
codeHBR (line 254)
  • access: public
void codeHBR$s)
  • $s
codeHKT (line 270)

This functions is used for encoding text before displaying it in html pages. It does an entity encode but keeps following tags

  • access: public
string codeHKT (unknown_type $s)
  • unknown_type $s
codeI (line 298)

return a given value encoded as Integer

quite useless, but who knows for what reason it will be good one day ;)

  • access: public
integer codeI (string $s)
  • string $s: value
codeSQL (line 309)

Enter description here...

  • access: public
unknown codeSQL (unknown_type $s)
  • unknown_type $s
codeX (line 187)
  • access: public
void codeX$s, [ $utf8 = false])
  • $s
  • $utf8
get (line 64)
  • access: public
void get$property, [ $default = null])
  • $property
  • $default

Redefined in descendants as:
getA (line 143)
  • access: public
void getA$property, [ $allowedchars = PT_ALPHANUMERIC], [ $default = null])
  • $property
  • $allowedchars
  • $default
getAH (line 150)
  • access: public
void getAH$property, [ $allowedchars = PT_ALPHANUMERIC], [ $default = null])
  • $property
  • $allowedchars
  • $default
getD (line 96)
  • access: public
void getD$property,  $decimals, [ $default = null])
  • $property
  • $decimals
  • $default
getH (line 110)
  • access: public
void getH$property, [ $default = null])
  • $property
  • $default
getHBR (line 115)
  • access: public
void getHBR$property, [ $default = null])
  • $property
  • $default
getHTML (line 105)
  • access: public
void getHTML$property, [ $default = null])
  • $property
  • $default
getI (line 76)
  • access: public
void getI$property, [ $default = null], [ $min = null], [ $max = null])
  • $property
  • $default
  • $min
  • $max
getQ (line 156)
  • access: public
void getQ$property)
  • $property
getS (line 175)
  • access: public
void getS$property)
  • $property
getSQL (line 131)
  • access: public
void getSQL$property, [ $default = null])
  • $property
  • $default
getU (line 168)

Get property in UTF8 format

  • return: return the property value in UTF8
  • access: public
string getU (string $property, [string $default = null])
  • string $property: property name
  • string $default: default output if the property not exist
getURL (line 125)
  • access: public
void getURL$property, [ $default = null])
  • $property
  • $default

Redefined in descendants as:
getValidationError (line 347)
  • access: public
void getValidationError ()

Redefined in descendants as:
getX (line 136)
  • access: public
void getX$property, [ $default = null])
  • $property
  • $default
isValidEmail (line 389)
  • access: public
void isValidEmail$property, [ $strict = false])
  • $property
  • $strict

Redefined in descendants as:
isValidInteger (line 359)
  • access: public
void isValidInteger$property, [ $strict = false], [ $min = null], [ $max = null])
  • $property
  • $strict
  • $min
  • $max

Redefined in descendants as:
isValidProperty (line 326)
  • access: public
void isValidProperty$property)
  • $property
isValidSelection (line 369)
  • access: public
void isValidSelection$property,  $_options, [ $strict = false])
  • $property
  • $_options
  • $strict

Redefined in descendants as:
isValidString (line 379)
  • access: public
void isValidString$property, [ $allowedchars = PT_ALPHA], [ $strict = false])
  • $property
  • $allowedchars
  • $strict

Redefined in descendants as:
printProperties (line 403)

do debug print of local properites

  • access: public
void printProperties ()
set (line 46)
  • access: public
void set$property,  $value)
  • $property
  • $value
setNoValidationError (line 353)
  • access: public
void setNoValidationError ()

Redefined in descendants as:
setValidationError (line 340)
  • access: public
void setValidationError$number,  $string)
  • $number
  • $string

Redefined in descendants as:
urlencode (line 230)
  • access: public
void urlencode$url)
  • $url

Documentation generated on Fri, 17 Jul 2009 16:42:43 +0200 by phpDocumentor 1.4.2

Bookmark and Share