|
ultimix
|
Public Member Functions | |
| __construct () | |
| get_type_from_cache ($Object1Type, $Object2Type) | |
| fill_cache () | |
| get_type_from_db ($Object1Type, $Object2Type) | |
| create_link_type ($Object1Type, $Object2Type) | |
| get_link_type ($Object1Type, $Object2Type) | |
| get_link_literal_type (&$Type) | |
Data Fields | |
| $LinkTypesDictionary = false | |
| $Database = false | |
| $Security = false | |
Class allows to create many-to-many links.
Definition at line 26 of file link_dictionary.php.
| __construct | ( | ) |
Constructor.
| Exception | An exception of this type is thrown. |
Definition at line 67 of file link_dictionary.php.
| create_link_type | ( | $Object1Type, | |
| $Object2Type | |||
| ) |
Function creates new link type.
| $Object1Type | - Type of the first object. |
| $Object2Type | - Type of the second object. |
| Exception | An exception of this type is thrown. |
Definition at line 230 of file link_dictionary.php.
| fill_cache | ( | ) |
Function filles cache.
| Exception | An exception of this type is thrown. |
Definition at line 152 of file link_dictionary.php.
| get_link_literal_type | ( | & | $Type | ) |
Getting link's type.
| $Type | - Type of the object. |
| Exception | An exception of this type is thrown. |
Definition at line 331 of file link_dictionary.php.
| get_link_type | ( | $Object1Type, | |
| $Object2Type | |||
| ) |
Getting link's type.
| $Object1Type | - Type of the first object. |
| $Object2Type | - Type of the second object. |
| Exception | An exception of this type is thrown. |
Definition at line 277 of file link_dictionary.php.
| get_type_from_cache | ( | $Object1Type, | |
| $Object2Type | |||
| ) |
Getting link's type from the cache.
| $Object1Type | - Type of the first object. |
| $Object2Type | - Type of the second object. |
| Exception | An exception of this type is thrown. |
Definition at line 106 of file link_dictionary.php.
| get_type_from_db | ( | $Object1Type, | |
| $Object2Type | |||
| ) |
Getting link's type.
| $Object1Type | - Type of the first object. |
| $Object2Type | - Type of the second object. |
| Exception | An exception of this type is thrown. |
Definition at line 194 of file link_dictionary.php.
| $Database = false |
Cached objects.
Definition at line 50 of file link_dictionary.php.
| $LinkTypesDictionary = false |
Dictionary with link types.
Definition at line 38 of file link_dictionary.php.
| $Security = false |
Definition at line 51 of file link_dictionary.php.