Jonathan Green
60b848b922
Define new function islandora_sort_ordered
...
This function can replace calls to uasort with drupal_sort_weight. This
function will return a consistant sort order between PHP5 and PHP7 for
elements of the same weight by preserving the order of elements with the
same weight.
Under both PHP5 and PHP7 the order of elements with the same weight are
not guarenteed, and in practice the order of elements returned is
different between PHP5 and PHP7. This could cause some issues where the
order is changed depending on PHP version. This function gives us the
option of a consistant sort order.
This pull request also defines some new unit tests for the new function.
8 years ago
qadan
e63201f9f9
update API to include DS modified params
8 years ago
willtp87
4adf1be6f6
Allowing derivatives to be altered.
9 years ago
Kylea Jackson
c135fd92f2
Fixing derivatives hook spelling error
10 years ago
willtp87
6b69518988
defer derivatives api
10 years ago
qadan
fc357e6f7d
last bit of bugfixes and cleanup
11 years ago
willtp87
69188416bd
less batches
11 years ago
willtp87
3f4cdaea9d
derivatives in batches so derivatives that need to batch can run
11 years ago
willtp87
311fae0f64
coder
11 years ago
willtp87
8855039955
can not send a function to empty
11 years ago
willtp87
7be2653ba6
forgot comma
11 years ago
willtp87
254ee5d60b
passing derivative deffinition to callback (usefull for single callback handling many derivatives)
11 years ago
willtp87
27e2f5f978
letting batch derivitives run during batches
11 years ago
Jordan Dukart
6e7a659f51
Update some derivative tests and add a filter function to smarterly filter.
11 years ago
Jordan Dukart
6405a453ce
Batch each derivative operation individually.
11 years ago
Jordan Dukart
d8bd395b3f
Missing an include.
11 years ago
mitchmac
1f6d4f56ff
Rename session array to be more generic
11 years ago
mitchmac
40c8bac425
Try to limit wall of text with derivative messages
11 years ago
Jordan Dukart
d1b26132d9
Check to see if function exists before calling it.
11 years ago
Alan Stanley
cdcc594065
made derivative creation object state aware
11 years ago
Jordan Dukart
25e5389215
Make watchdogs watchdog.
11 years ago
Jordan Dukart
a0fc2179da
Coder hackery.
11 years ago
Jordan Dukart
0b53c36cea
Coding standards ignore.
11 years ago
Jordan Dukart
69010df8ea
Filter xssing too much, minor doc fixes.
11 years ago
Jordan Dukart
82da5d74ff
Restructuring to the derivate process, documentation, more tests.
11 years ago