controller_after.*

Triggered upon execution of a specified PHP controller.

Team

Input (passed by reference)

$params['controller'] waViewController Controller class instance.
$params['params'] array|null Parameters passed to the controller class.
… your plugin code …

Output

Team

Plugin code example

PHP

/**
 * 'handlers' => [
 *     'controller_after.teamProfileAction' => 'controllerAfterTeamProfileAction',
 * ],
 */
public function controllerAfterTeamProfileAction(&$params)
{
        // additional logic after a user profile has been loaded
}