From 3b46044b1783424e529a837f1a7371495385a7ed Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 24 Dec 2013 13:16:43 -0500 Subject: [PATCH] Add doc blocks for type constants. --- Cake/ORM/Association.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Cake/ORM/Association.php b/Cake/ORM/Association.php index 64f9f983525..32297811ace 100644 --- a/Cake/ORM/Association.php +++ b/Cake/ORM/Association.php @@ -47,10 +47,25 @@ abstract class Association { */ const STRATEGY_SELECT = 'select'; +/** + * Association type for one to one associations. + * + * @var string + */ const ONE_TO_ONE = 'oneToOne'; +/** + * Association type for one to many associations. + * + * @var string + */ const ONE_TO_MANY = 'oneToMany'; +/** + * Association type for many to many associations. + * + * @var string + */ const MANY_TO_MANY = 'manyToMany'; /**