Function Hook_actionlog->get_extended_actionlog_data
Definitions
sources/actionlog.php
- Get extended action log details if the action log entry type is handled by this hook and we have them.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$actionlog_row | array | No | No | required parameter | N/A | N/A | Action log row |
$show_view_profile | boolean | No | No | True | N/A | N/A | Show view profile links |
Returns
- Map of extended data in standard format (null: not available from this hook) (false: hook has responsibility but has failed)
- Type: ?~array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get extended action log details if the action log entry type is handled by this hook and we have them.
*
* @param array $actionlog_row Action log row
* @param boolean $show_view_profile Show view profile links
* @return ?~array Map of extended data in standard format (null: not available from this hook) (false: hook has responsibility but has failed)
*/
public function get_extended_actionlog_data(array $actionlog_row, bool $show_view_profile = true)
* Get extended action log details if the action log entry type is handled by this hook and we have them.
*
* @param array $actionlog_row Action log row
* @param boolean $show_view_profile Show view profile links
* @return ?~array Map of extended data in standard format (null: not available from this hook) (false: hook has responsibility but has failed)
*/
public function get_extended_actionlog_data(array $actionlog_row, bool $show_view_profile = true)