-> changing the availability such as the visibility of a single item causes parents or children items (in a chain of parent-child item) to modify their availability such as visibility.

-> changed the name of "limitedaccess" field to "advanced"

-> replaced a more developer styled "throw new moodle_exception" to simpler "print_error"