Class jDaoProperty

Description

Container for properties of a dao property

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


	
			
Variable Summary
string $comment
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 86)
  • access: public
string $comment = '' (line 92)

comment field / eg : use to form's label

  • access: public
mixed $datatype (line 65)
  • access: public
mixed $defaultValue = null (line 84)
  • access: public
mixed $fieldName = '' (line 33)

the name of the field in table

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

Says if it's a foreign key

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

Says if it's a primary key.

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

the maxlength of the key if given

  • access: public
mixed $minlength = null (line 80)
  • access: public
mixed $name = '' (line 28)

the name of the property of the object

  • access: public
mixed $ofPrimaryTable = true (line 82)
  • access: public
string $regExp = null (line 39)

give the regular expression that needs to be matched against.

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

says if the field is required when doing a check

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

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

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

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 Wed, 04 Jan 2017 22:53:25 +0100 by phpDocumentor 1.4.3