Programmatically check if activity is available at a certain date/hour

Re: Programmatically check if activity is available at a certain date/hour

by Neill Magill -
Number of replies: 1
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
I think the whole Moodle availability API is designed only to check availability at the point of access, I have a feeling you would need to copy and then modify most of the classes in core_availability into your own plugin to make it work.
Average of ratings: Useful (1)
In reply to Neill Magill

Re: Programmatically check if activity is available at a certain date/hour

by Luis de la Torre -
I feared there wasn't an easy way to do this... I guess I'll have keep working on the solution I started implementing.
Thanks for your reply nonetheless!