Class jDbColumn

Description

Located in /db/jDbColumn.class.php (line 66)


	
			
Variable Summary
boolean $autoIncrement
string $default
boolean $hasDefault
mixed $length
mixed $maxLength
mixed $maxValue
mixed $minLength
mixed $minValue
string $name
mixed $nativeType
boolean $notNull
string $sequence
string $type
mixed $unsigned
Method Summary
jDbColumn __construct ( $name,  $type, [ $length = 0], [ $hasDefault = false], [ $default = null], [ $notNull = false])
Variables
boolean $autoIncrement = false (line 96)

says if the field is auto incremented

  • access: public
string $default = '' (line 102)

default value

  • access: public
boolean $hasDefault = false (line 108)

says if there is a default value

  • access: public
mixed $length = 0 (line 113)
  • access: public
mixed $maxLength = null (line 125)
  • access: public
mixed $maxValue = null (line 129)
  • access: public
mixed $minLength = null (line 123)
  • access: public
mixed $minValue = null (line 127)
  • access: public
string $name (line 84)

field name

  • access: public
mixed $nativeType (line 78)

internal use

  • access: public
boolean $notNull = true (line 90)

says if the field can be null or not

  • access: public
string $sequence = false (line 119)

if there is a sequence

  • access: public
string $type (line 72)

native type of the field

  • access: public
mixed $unsigned = false (line 121)
  • access: public
Methods
Constructor __construct (line 131)
jDbColumn __construct ( $name,  $type,  $length, [ $hasDefault = false], [ $default = null], [ $notNull = false])
  • $name
  • $type
  • $length
  • $hasDefault
  • $default
  • $notNull

Documentation generated on Wed, 24 Sep 2014 21:58:26 +0200 by phpDocumentor 1.4.3