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

Annotation OneToMany. More...

+ Inheritance diagram for OneToManyAnnotation:

Data Fields

 $mappedBy
 
 $className
 
 $cascade
 

Additional Inherited Members

- Public Member Functions inherited from BaseAnnotation
 initAnnotation (array $properties)
 
 asAnnotation ()
 
 __toString ()
 
- Public Member Functions inherited from BaseAnnotationTrait
 getProperties ()
 
 getPropertiesAndValues ($props=NULL)
 
 isSameAs ($annot)
 
- Protected Member Functions inherited from BaseAnnotation
 getDefaultParameters ()
 

Detailed Description

Annotation OneToMany.

usage :

  • oneToMany("mappedBy"=>"memberName","className"=>"classname")
  • oneToMany("mappedBy"=>"memberName","className"=>"classname","cascade"=>['remove'])
Author
jc
Version
1.0.3

Definition at line 14 of file OneToManyAnnotation.php.

Field Documentation

◆ $cascade

$cascade

Definition at line 17 of file OneToManyAnnotation.php.

◆ $className

$className

Definition at line 16 of file OneToManyAnnotation.php.

◆ $mappedBy

$mappedBy

Definition at line 15 of file OneToManyAnnotation.php.


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