Primary

Actions

groups_created_file

This action is invoked when a new file has been created.

Parameters:

  • int $file_id the file id

groups_updated_file

This action is invoked when a file or the data related to it has been updated.

Parameters:

  • int $file_id the file id

groups_deleted_file

This action is invoked when a file has been deleted.

Parameters:

  • object $file the file row object

groups_created_file_group

This action is invoked when a file is related to a group.

Parameters:

  • int $file_id the file id
  • int $group_id the group id

groups_deleted_file_group

This action is invoked when the relation of a file has been removed from a group.

Parameters:

  • int $file_id the file id
  • int $group_id the group id

groups_file_served

This action is triggered when a file has been served to a user.

Parameters:

  • int $file_id the file id
  • int $user_id the user id