2 interface CRM_Core_Reference_Interface
{
3 public function getReferenceTable();
5 public function getReferenceKey();
8 * Determine if a given table is a target of this reference.
10 * @param string $tableName
13 public function matchesTargetTable($tableName);
16 * Create a query to find references to a particular record
18 * @param CRM_Core_DAO $targetDao the instance for which we want references
19 * @return CRM_Core_DAO|NULL a query-handle (like the result of CRM_Core_DAO::executeQuery)
21 public function findReferences($targetDao);