XMLWordPrintable

Details

    • MOODLE_20_STABLE

    Description

      While developing an RSS feed for recent activity we altered the way the modules were getting and displaying their recent activity.

      The change was splitting up the $modname._print_recent_activity(..) function into a $modname._get_recent_activity(..) and $modname._print_recent_activity(..) so that the RSS feed could use the modules get function and the existing print functions could still be called from within course/lib.php for displaying the recent activity block.

      We would like to suggest this as a possible API change for Modules in 2.0.

      Attached is a patch for the suggested API change using the Forum Module, it is a follow up of the original Tracker issue #MDL-17045 and supplied patch.

      Thanks,
      Stacey Walker

      Attachments

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              stacey Stacey Walker
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: