Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37903

Interface cacheable_object is ignored if it is inside array

    Details

      Description

      When caching an array of cacheable_objects, they are cached as if they are normal classes, without initialising cache_cached_object and calling prepare_to_cache() and wake_from_cache()

      It is possible of course to do a workaround by creating another cacheable_object that would contain just a list. But it would be so awesome if cache::set and cache::get were checking for chacheable_object's recursively

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13