public function PartyAcquisitionInterface::acquire in Party 7
Create or acquire a party based off the given parameters.
Parameters
array $values: An array of primary fields to match on. Keys are the primary field and values are the expected values.
array $context: An array of contextual information.
string $method: Optionally pass a variable to be filled with the acquisition method.
Return value
Party|FALSE The acquired or newly created party or FALSE on a failure.
1 method overrides PartyAcquisitionInterface::acquire()
- PartyAcquisition::acquire in includes/
party.acquisition.inc - Create or acquire a party based off the given parameters.
File
- includes/
party.acquisition.inc, line 56 - Base classes for acquisition processes.
Class
- PartyAcquisitionInterface
- Interface class for party acquisitions.
Code
public function acquire(array $values, array $context, &$method);