← Back to team overview

mahara-contributors team mailing list archive

[Bug 1328729] Re: Add new parameters to the get_activity_body function

 

The purpose is to provide all the data that get_activity_body might need
to know about where the activity will be rendered. The stream type lets
it know whether it is in a home stream, profile stream, group stream
etc. The viewer allows it to render for the specified user, rather than
assuming $USER (which would allow the code to be run from cron jobs
etc). The owner, group and institution allow the function to figure out
who's stream the activity is being rendered inside. We think these are
all the pieces of information that could be applicable and which can't
be worked out indirectly using the provided information.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1328729

Title:
  Add new parameters to the get_activity_body function

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Add new parameters to have more information and make other tasks
  easier

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1328729/+subscriptions


References