[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/classes/event/ -> blog_entries_viewed.php (summary)

Event for when blog entries are viewed.

Copyright: 2013 onwards Ankit Agarwal
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 121 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

blog_entries_viewed:: (6 methods):
  init()
  get_name()
  get_description()
  get_url()
  get_legacy_logdata()
  get_other_mapping()


Class: blog_entries_viewed  - X-Ref

Class for event to be triggered when blog entries are viewed.

init()   X-Ref
Set basic properties for the event.


get_name()   X-Ref
Returns localised general event name.

return: string

get_description()   X-Ref
Returns non-localised event description with id's for admin use only.

return: string

get_url()   X-Ref
Returns relevant URL.

return: \moodle_url

get_legacy_logdata()   X-Ref
replace add_to_log() statement.

return: array of parameters to be passed to legacy add_to_log() function.

get_other_mapping()   X-Ref
No description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1