Skip to content

Commit

Permalink
Add doc blocks for type constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 25, 2013
1 parent b11db45 commit 3b46044
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Cake/ORM/Association.php
Expand Up @@ -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';

/**
Expand Down

0 comments on commit 3b46044

Please sign in to comment.