1: <?php
2: /**
3: * Copyright 2006-2012 Horde LLC (http://www.horde.org/)
4: *
5: * @author Chuck Hagenbuch <chuck@horde.org>
6: * @license http://www.horde.org/licenses/bsd BSD
7: * @category Horde
8: * @package Rdo
9: */
10:
11: /**
12: * @author Chuck Hagenbuch <chuck@horde.org>
13: * @license http://www.horde.org/licenses/bsd BSD
14: * @category Horde
15: * @package Rdo
16: */
17: class Horde_Rdo
18: {
19: /**
20: * One-to-one relationships.
21: */
22: const ONE_TO_ONE = 1;
23:
24: /**
25: * One-to-many relationships (this object has many children).
26: */
27: const ONE_TO_MANY = 2;
28:
29: /**
30: * Many-to-one relationships (this object is one of many children
31: * of a single parent).
32: */
33: const MANY_TO_ONE = 3;
34:
35: /**
36: * Many-to-many relationships (this object relates to many
37: * objects, each of which relate to many objects of this type).
38: */
39: const MANY_TO_MANY = 4;
40:
41: }
42: