Function Hook_privacy_base->is_owner

Definitions

sources/privacy.php

  • Determine if, given the provided criteria and content, we have high confidence this individual owns the content.You should run fill_in_missing_privacy_criteria before running this.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$table_name ID_TEXT required parameter N/A N/A The name of the database table
$table_details array required parameter N/A N/A The details of the table from the privacy hook; can be modified for special behaviour
$row array required parameter N/A N/A The raw database row
$member_id ?MEMBER required parameter N/A N/A The given member ID in search criteria (null: not provided)
$username string required parameter N/A N/A The given username in search criteria (blank: not provided)
$email_address string required parameter N/A N/A The given email address in search criteria (blank: not provided)

Return

  • Whether we are confident this individual owns this content
  • Type: boolean
  • Set: N/A
  • Range: N/A