X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=EVENTS.txt;h=cfba97403b20e1918193cb34483aabc5063d6750;hb=1f890f03c885ce0761be80e69e678cce5f9ee46a;hp=b98c6ff52fda2a06e6b26ce9ae2a270a0a816c5b;hpb=dc0b62f63693fafb6400a2d2ed4a0ca51eb3fc6b;p=quix0rs-gnu-social.git diff --git a/EVENTS.txt b/EVENTS.txt index b98c6ff52f..cfba97403b 100644 --- a/EVENTS.txt +++ b/EVENTS.txt @@ -2,6 +2,13 @@ InitializePlugin: a chance to initialize a plugin in a complete environment CleanupPlugin: a chance to cleanup a plugin at the end of a program +StartActionExecute: Right before the "prepare" call of the current Action +- $action: the current Action object +- &$args: array of arguments, referenced so you can modify the array + +EndActionExecute: Right after the "handle" call of the current Action +- $action: the current Action object + StartPrimaryNav: Showing the primary nav menu - $action: the current action @@ -1444,6 +1451,9 @@ StartResizeImageFile: Hook to resize an image and output it to a file. No matchi - $outpath: string with output filepath - $box: array with size ('width', 'height') and boundary box('x', 'y', 'w', 'h'). +FillImageFileMetadata: Get more metadata about the ImageFile if it is perhaps not a real local file +- $imagefile ImageFile object which we're getting metadata for (such as animated status, width/height etc.) + StartShowAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews). - $out: HTMLOutputter class to use for outputting HTML. - $file: 'File' object which we're going to show representation for. @@ -1465,10 +1475,25 @@ EndNotifyMentioned: During notice distribution, we send notifications (email, im - $mentioned_ids: Array of profile IDs (not just for local users) who got mentioned by the notice. StartHomeStubNavItems: Go back Home nav items. Default includes just one item 'home' -- $action: action being executed (for output and params) -- $items: array of items in the nav +- $out: HTMLOutputter used to output (usually an Action, but not always!) +- &$items: Referenced array of items in the nav (add if desired) EndHomeStubNavItems: -- $action: action being executed (for output and params) -- $items: array of items in the nav +- $out: HTMLOutputter used to output (usually an Action, but not always!) +- $items: array of menu items + +StartSubMenu: Before outputting a submenu (including enclosing tags) to HTML +- $out: HTMLOutputter used to output (usually an Action, but not always!) +- $menu: The Menu object outputted as a submenu. +- $label: Localized text which represents the menu item. + +EndSubMenu: After outputting a submenu (including enclosing tags) to HTML +- $out: HTMLOutputter used to output (usually an Action, but not always!) +- $menu: The Menu object outputted as a submenu. +- $label: Localized text which represents the menu item. + +StartDocNav: Before outputting the docs Nav +- $nav: The DoclNav widget +EndDocNav: After outputting the docs Nav +- $nav: The DoclNav widget