diff options
author | Matt Friedman <maf675@gmail.com> | 2013-12-16 23:54:55 -0800 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2013-12-16 23:54:55 -0800 |
commit | 4665e3df216de474e73c5aeec56ec5cb30f280c9 (patch) | |
tree | 22620dc3c47b6ad04562a41f92f2c0e5045960dc /phpBB/includes/acp/acp_bbcodes.php | |
parent | 01c4235f0080a1cf07cd6e4ede880a323f3c09a7 (diff) | |
download | forums-4665e3df216de474e73c5aeec56ec5cb30f280c9.tar forums-4665e3df216de474e73c5aeec56ec5cb30f280c9.tar.gz forums-4665e3df216de474e73c5aeec56ec5cb30f280c9.tar.bz2 forums-4665e3df216de474e73c5aeec56ec5cb30f280c9.tar.xz forums-4665e3df216de474e73c5aeec56ec5cb30f280c9.zip |
[ticket/12060] Further clarifying new event docblocks as much as possible
PHPBB3-12060
Diffstat (limited to 'phpBB/includes/acp/acp_bbcodes.php')
-rw-r--r-- | phpBB/includes/acp/acp_bbcodes.php | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/phpBB/includes/acp/acp_bbcodes.php b/phpBB/includes/acp/acp_bbcodes.php index 65159ec7ea..84382b6276 100644 --- a/phpBB/includes/acp/acp_bbcodes.php +++ b/phpBB/includes/acp/acp_bbcodes.php @@ -111,12 +111,13 @@ class acp_bbcodes $bbcode_tokens = array('TEXT', 'SIMPLETEXT', 'INTTEXT', 'IDENTIFIER', 'NUMBER', 'EMAIL', 'URL', 'LOCAL_URL', 'RELATIVE_URL', 'COLOR'); /** - * Event to modify custom bbcode template before displaying the add/edit form + * Modify custom bbcode template data before we display the add/edit form * * @event core.acp_bbcodes_edit_add * @var string action Type of the action: add|edit - * @var array tpl_ary Array with bbcodes add/edit data - * @var int bbcode_id The id of the bbcode (being edited) + * @var array tpl_ary Array with custom bbcode add/edit data + * @var int bbcode_id When editing: the bbcode id, + * when creating: 0 * @var array bbcode_tokens Array of bbcode tokens * @since 3.1.0-a3 */ @@ -143,12 +144,13 @@ class acp_bbcodes $sql_ary = $hidden_fields = array(); /** - * Event to modify custom bbcode data before modify/create + * Modify custom bbcode data before the modify/create action * * @event core.acp_bbcodes_modify_create * @var string action Type of the action: modify|create * @var array sql_ary Array with new bbcode data - * @var int bbcode_id The id of the bbcode (being modified) + * @var int bbcode_id When editing: the bbcode id, + * when creating: 0 * @var bool display_on_posting Display bbcode on posting form * @var string bbcode_match The bbcode usage string to match * @var string bbcode_tpl The bbcode HTML replacement string @@ -349,7 +351,7 @@ class acp_bbcodes ); /** - * Event to modify custom bbcode template data before displaying the form + * Modify custom bbcode template data before we display the form * * @event core.acp_bbcodes_display_form * @var string action Type of the action: modify|create @@ -374,7 +376,7 @@ class acp_bbcodes ); /** - * Event to modify display of custom bbcodes in the form + * Modify display of custom bbcodes in the form * * @event core.acp_bbcodes_display_bbcodes * @var array row Array with current bbcode data |