X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=addon%2FREADME;h=33b84e10d08d830d0620e6fc4e6d82dc19968dc0;hb=76ed216aaadcdaeb5010ed663573ae02f63577ad;hp=83407d6a17e7db9efa3d756b75baa91d3af6d9e8;hpb=be3cfe8b65031103b195854e0770ed6b3f57d9a1;p=friendica.git diff --git a/addon/README b/addon/README index 83407d6a17..33b84e10d0 100644 --- a/addon/README +++ b/addon/README @@ -82,10 +82,13 @@ Current hooks: 'settings_form' - called when generating the HTML for the user Settings page $b is the (string) HTML of the settings page before the final '' tag. +'settings_post' - called when the Settings pages are submitted. + $b is the $_POST array + 'plugin_settings' - called when generating the HTML for the addon settings page $b is the (string) HTML of the addon settings page before the final '' tag. -'settings_post' - called when the Settings and Addon Settings pages are submitted. +'plugin_settings_post' - called when the Addon Settings pages are submitted. $b is the $_POST array 'profile_advanced' - called when the HTML is generated for the 'Advanced profile', @@ -97,9 +100,13 @@ Current hooks: 'contact' => contact (array) record for the person from the database 'entry' => the (string) HTML of the generated entry +'profile_sidebar_enter' - called prior to generating the sidebar "short" profile for a page + $b is (array) the person's profile array + 'profile_sidebar' - called when generating the sidebar "short" profile for a page - $b is the (string) generated HTML of the entry - (The profile array details are in $a->profile) + $b is an array + 'profile' => profile (array) record for the person from the database + 'entry' => the (string) HTML of the generated entry 'contact_block_end' - called when formatting the block of contacts/friends on a profile sidebar has completed @@ -124,6 +131,26 @@ Current hooks: 'xml' => the complete XML to be output +'home_content' - called prior to output home page content, shown to unlogged users + $b is (string) HTML of section region + +'contact_edit' - called when editing contact details on an individual from the Contacts page + $b is (array) + 'contact' => contact record (array) of target contact + 'output' => the (string) generated HTML of the contact edit page + +'contact_edit_post' - called when posting the contact edit page + $b is the $_POST array + +'init_1' - called just after DB has been opened and before session start + $b is not used or passed + +'page_end' - called after HTML content functions have completed + $b is (string) HTML of content div + + + + *** = subject to change @@ -132,17 +159,17 @@ Current hooks: Not yet documented: -'atom_feed' +'atom_feed' *** -'atom_feed_end' +'atom_feed_end' *** -'parse_atom' +'parse_atom' *** -'atom_author' +'atom_author' *** -'atom_entry' +'atom_entry' *** -'parse_link' +'parse_link' ***