|
|
@@ -20,10 +20,12 @@ function register_connections_for($type, $from_types) {
|
|
20
|
20
|
}
|
|
21
|
21
|
|
|
22
|
22
|
function register_all_one_offs() {
|
|
23
|
|
- register_connections_for('artist', ['artist']);
|
|
24
|
|
- register_connections_for('short', ['technique', 'short']);
|
|
25
|
|
- register_connections_for('guide', ['episode']);
|
|
26
|
|
- register_connections_for('event', ['event']);
|
|
|
23
|
+ register_connections_for('object', ['object', 'exhibition']);
|
|
|
24
|
+ register_connections_for('artist', ['artist', 'object']);
|
|
|
25
|
+ register_connections_for('short', ['technique', 'short', 'object']);
|
|
|
26
|
+ // register_connections_for('guide', ['']);
|
|
|
27
|
+ register_connections_for('event', ['event', 'object']);
|
|
|
28
|
+ register_connections_for('episode', ['object', 'episode']);
|
|
27
|
29
|
}
|
|
28
|
30
|
|
|
29
|
31
|
function all_connection_types() {
|
|
|
@@ -38,7 +40,7 @@ function all_connection_types() {
|
|
38
|
40
|
'guide',
|
|
39
|
41
|
];
|
|
40
|
42
|
|
|
41
|
|
- // Kick-off by assigning to artist
|
|
|
43
|
+ // Kick-off by assigning to object
|
|
42
|
44
|
$artist = array_shift($connection_stack);
|
|
43
|
45
|
register_connections_for($artist, $connection_stack);
|
|
44
|
46
|
|