Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ticket/12278] Add mcp.php core event to modify modules display option #2142

Merged
merged 1 commit into from Mar 17, 2014

Conversation

rxu
Copy link
Contributor

@rxu rxu commented Mar 16, 2014

This event allows extensions to set display option for custom MCP modules
for extensions which add custom MCP modules
and some of them should be displayed conditionally.

PHPBB3-12278.

* @var int post_id Post id
* @var string username User name
* @var int id Parent module id
* @since 3.1.0-a4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b2

@rxu
Copy link
Contributor Author

rxu commented Mar 17, 2014

Updated #2142.

* This event allows you to set display option for custom MCP modules
*
* @event core.modify_mcp_modules_display_option
* @var object module Instance of module system class
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

module is type p_master iirc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, p_master is not a type but a class name. I can adjust the description as "Instance of p_module class" f.e.

…lay option

This event allows extensions to set display option for custom MCP modules
for extensions which add custom MCP modules
and some of them should be displayed conditionally.

PHPBB3-12278
@rxu
Copy link
Contributor Author

rxu commented Mar 17, 2014

Updated #2142.

@nickvergessen nickvergessen merged commit 378cfd6 into phpbb:develop Mar 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants