Class jDaoProperty

Description

Container for properties of a dao property

Located in /dao/jDaoProperty.class.php (line 23)


	
			
Variable Summary
mixed $datatype
mixed $fieldName
boolean $isFK
boolean $isPK
mixed $minlength
mixed $name
string $regExp
boolean $required
mixed $table
Method Summary
jDaoProperty __construct ( $aParams,  $def)
Variables
mixed $datatype (line 64)
  • access: public
mixed $defaultValue = null (line 81)
  • access: public
mixed $fieldName = '' (line 32)

the name of the field in table

  • access: public
mixed $insertPattern = '%s' (line 68)
  • access: public
boolean $isFK = false (line 62)

Says if it's a foreign key

  • access: public
boolean $isPK = false (line 56)

Says if it's a primary key.

  • access: public
int $maxlength = null (line 76)

the maxlength of the key if given

  • access: public
mixed $minlength = null (line 77)
  • access: public
mixed $name = '' (line 27)

the name of the property of the object

  • access: public
mixed $ofPrimaryTable = true (line 79)
  • access: public
string $regExp = null (line 38)

give the regular expression that needs to be matched against.

  • access: public
boolean $required = false (line 44)

says if the field is required when doing a check

  • access: public
boolean $requiredInConditions = false (line 50)

says if the value of the field is required when construct SQL conditions

  • access: public
mixed $selectPattern = '%s' (line 69)
  • access: public
mixed $sequenceName = '' (line 70)
  • access: public
mixed $table = null (line 66)
  • access: public
mixed $updatePattern = '%s' (line 67)
  • access: public
Methods
Constructor __construct (line 85)

constructor.

jDaoProperty __construct ( $aParams,  $def)
  • $aParams
  • $def

Documentation generated on Thu, 22 Mar 2012 22:14:59 +0100 by phpDocumentor 1.4.3