Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ColumnAnnotation Class Reference

Annotation Column. More...

+ Inheritance diagram for ColumnAnnotation:

Public Member Functions

 initAnnotation (array $properties)
 Initialize the annotation.
 
- Public Member Functions inherited from BaseAnnotation
 asAnnotation ()
 
 __toString ()
 
- Public Member Functions inherited from BaseAnnotationTrait
 getProperties ()
 
 getPropertiesAndValues ($props=NULL)
 
 isSameAs ($annot)
 

Data Fields

 $name
 
 $nullable = false
 
 $dbType
 

Additional Inherited Members

- Protected Member Functions inherited from BaseAnnotation
 getDefaultParameters ()
 

Detailed Description

Annotation Column.

usages :

  • column("columnName")
  • column("name"=>"columnName")
  • column("name"=>"columnName","nullable"=>true)
  • column("name"=>"columnName","dbType"=>"typeInDb")
Author
jc
Version
1.0.3

Definition at line 15 of file ColumnAnnotation.php.

Member Function Documentation

◆ initAnnotation()

initAnnotation ( array  $properties)

Initialize the annotation.

Reimplemented from BaseAnnotation.

Definition at line 25 of file ColumnAnnotation.php.

Field Documentation

◆ $dbType

$dbType

Definition at line 21 of file ColumnAnnotation.php.

◆ $name

$name

Definition at line 17 of file ColumnAnnotation.php.

◆ $nullable

$nullable = false

Definition at line 19 of file ColumnAnnotation.php.


The documentation for this class was generated from the following file: