A little out of my comfort zone here; Is it possible to replace a core method in PW:
class ExtendedWireArray extends WireArray {
public function findRandomTimed($num, $seed = 'Ymd') {
// new code
}
}
Reason: I have Suhosin apache security extension installed which means the findRandomTimed() method does not work correctly as php seeding is overwritten by Suhosin. I need to alter the function to use my own seeded random generator, but hacking the core is obviously not a good idea. Is a module the way this is normally done or can I simply extend the WireArray class somehow?