Elgg  Version master
Public Member Functions | List of all members
Elgg\Groups\ToolContainerLogicCheck Class Reference

Check if content can be created in a group based on the group tool option. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 Listen to the container logic check hook. More...
 
 getContentType ()
 Returns the type of the content affected by the group tool option. More...
 
 getContentSubtype ()
 Returns the subtype affected by the group tool option. More...
 
 getToolName ()
 Returns the name of the group tool option to check if is enabled. More...
 

Detailed Description

Check if content can be created in a group based on the group tool option.

Since
3.3

Definition at line 10 of file ToolContainerLogicCheck.php.

Member Function Documentation

Elgg\Groups\ToolContainerLogicCheck::__invoke ( \Elgg\Hook  $hook)

Listen to the container logic check hook.

Parameters
\Elgg\Hook$hook'container_logic_check', <type>
Returns
void|false

Definition at line 19 of file ToolContainerLogicCheck.php.

Elgg\Groups\ToolContainerLogicCheck::getContentSubtype ( )
abstract

Returns the subtype affected by the group tool option.

Returns
string
Elgg\Groups\ToolContainerLogicCheck::getContentType ( )
abstract

Returns the type of the content affected by the group tool option.

Returns
string
Elgg\Groups\ToolContainerLogicCheck::getToolName ( )
abstract

Returns the name of the group tool option to check if is enabled.

Returns
string

The documentation for this class was generated from the following file: