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
mixed $unifiedType
Method Summary
jDaoProperty __construct ( $aAttributes, jDaoParser $parser, jDbTools $tools, array $attributes)
Variables
mixed $autoIncrement = false (line 85)
  • access: public
mixed $datatype (line 64)
  • access: public
mixed $defaultValue = null (line 83)
  • access: public
mixed $fieldName = '' (line 32)

the name of the field in table

  • access: public
mixed $insertPattern = '%s' (line 70)
  • 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 78)

the maxlength of the key if given

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

the name of the property of the object

  • access: public
mixed $ofPrimaryTable = true (line 81)
  • 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 71)
  • access: public
mixed $sequenceName = '' (line 72)
  • access: public
mixed $table = null (line 68)
  • access: public
mixed $unifiedType (line 66)
  • access: public
mixed $updatePattern = '%s' (line 69)
  • access: public
Methods
Constructor __construct (line 92)

constructor.

jDaoProperty __construct ( $aAttributes, jDaoParser $parser, jDbTools $tools, array $attributes)
  • array $attributes: list of attributes of a simpleXmlElement
  • jDaoParser $parser: the parser on the dao file
  • jDbTools $tools
  • $aAttributes

Documentation generated on Thu, 19 Sep 2013 00:03:35 +0200 by phpDocumentor 1.4.3