Get accountContacts.

@return AccountContact[]
@VirtualProperty
@SerializedName("accountContacts")
@Groups({"fullAccount"})
424718
public function getAccountContacts()
    {
        $accountContacts = [];
        if ($this->entity->getAccountContacts()) {
            foreach ($this->entity->getAccountContacts() as $AccountContact) {
                $accountContacts[] = new AccountContact($AccountContact, $this->locale);
            }
        }

        return $accountContacts;
    }
765048
private function findContactsByIds($ids)
    {
        if (0 === count($ids)) {
            return [];
        }

        $queryBuilder = $this->entityManager->createQueryBuilder()
            ->select('CONCAT(\'c\', c.id) AS id, CONCAT(CONCAT(c.firstName, \' \'), c.lastName) AS name')
            ->from($this->contactEntityClass, 'c')
            ->where('c.id IN (:ids)');

        $query = $queryBuilder->getQuery();
        $query->setParameter('ids', $ids);

        return $query->getArrayResult();
    }
539212
public function getIContacts($force = false)
     {
         if ($this->nb_icontact_list->isEmpty() || $force) {
             $this->nb_icontact_list->clear();
             $this->nb_icontact_list->merge(CNabuIContact::getAlliContacts($this));
         }

         return $this->nb_icontact_list->getItems();
     }
405713
public function getAccounts()
  {
    //Is Group: Further accounts can be made under Groups, but entries can be made against non-Groups
    $accounts = array();

    $this->Account->byOrganization($this->AuthenticationManager->getCurrentUserOrganizationId())->each(function($Account) use (&$accounts)
    {
      array_push($accounts, array('label'=> $Account->key . ' ' . $Account->name, 'value'=>$Account->id));
    });

    return $accounts;
  }
818319
public function getCurrentUserPrincipals()
    {
        $currentUser = $this->getCurrentUserPrincipal();

        if (is_null($currentUser)) {
            return [];
        }

        return array_merge(
            [$currentUser],
            $this->getPrincipalMembership($currentUser)
        );
    }
1075960
public function addresses()
    {
        $member = Security::getCurrentUser();

        $this
            ->getOwner()
            ->customise([
                "Title" => _t(
                    "SilverCommerce\ContactAdmin.YourAddresses",
                    "Your Addresses"
                ),
                "MetaTitle" => _t(
                    "SilverCommerce\ContactAdmin.YourAddresses",
                    "Your Addresses"
                ),
                "Content" => $this->getOwner()->renderWith(
                    "SilverCommerce\\ContactAdmin\\Includes\\Addresses",
                    ["Contact" => $member->Contact()]
                )
            ]);

        $this->getOwner()->extend("updateAddresses");

        return $this
            ->getOwner()
            ->renderWith([
                'AccountController_addresses',
                AccountController::class . '_addresses',
                'AccountController',
                AccountController::class,
                'Page'
            ]);
    }
1059243
public function getContactsUser(User $user)
    {
        return array_map(function (Contact $contact) {
            return $contact->getContact();
        }, $this->contactRepo->findBy(['user' => $user]));
    }
475911
public function getContactList()
    {
        $url = 'http://www.oekobaudat.de/OEKOBAU.DAT/resource/contacts/?pageSize=20000';
        $xmlString = file_get_contents($url);
        $xmlString = str_replace(array('c:', 'sapi:', 'mm:'), '', $xmlString);
        $contacts = \simplexml_load_string($xmlString);

        $result = array();
        foreach ($contacts as $contact) {
            $result[(string) $contact->uuid] = (string) $contact->name;
        }

        return $result;
    }
608417
function GetContacts($tags = null, $params = array()) {
		if (!is_null($tags)) {
			return $this->return_all_results($this->MakeAPICall("GET", "contacts/tags/" . rawurlencode($tags), 0, $params));
		}
		else {
			return $this->return_all_results($this->MakeAPICall("GET", "contacts", 0, $params));
		}
	}
680105
public function actionContact()
    {
        $model = new ContactForm();
        if ($model->load($this->app->request->post()) && $model->contact($this->app->params['adminEmail'], $this->app->get('mailer'))) {
            $this->app->session->setFlash('contactFormSubmitted');

            return $this->refresh();
        }

        $requiredPackages = [
            'yii-jquery' => '\Yiisoft\Yii\JQuery\ActiveFormClientScript',
            'yii-bootstrap4' => '\Yiisoft\Yii\Bootstrap4\ActiveForm',
            'yii-captcha' => '\Yiisoft\Yii\Captcha\Captcha',
        ];
        $setupIncomplete = in_array(false, array_map('class_exists', $requiredPackages));

        return $this->render('contact', [
            'model' => $model,
            'requiredPackages' => $requiredPackages,
            'setupIncomplete' => $setupIncomplete,
        ]);
    }
806705
public function getResponsibleContact()
    {
        if ($contact = $this->entity->getResponsibleContact()) {
            return array(
                'id' => $contact->getId(),
                'fullName' => $contact->getFullName()
            );
        }

        return null;
    }
468566
public function getAccounts()
    {
        $resource = 'accounts';

        $response = $this->sendGetRequest($resource);
        $accountsResponse = new Models\GetAccountsResponse($response);
        return $accountsResponse->getAccounts();
    }
995052
def getContacts(self, only_active=True):
        
        contacts = self.objectValues("Contact")
        if only_active:
            contacts = filter(api.is_active, contacts)
        return contacts
1195872
public function getConnectorContact()
    {
        if (! isset($this->contactFromAccount)) {
            $contact = $this->_getApiClient()->getContactByEmail(
                $this->getCustomer()->getEmail()
            );
            if (isset($contact->id)) {
                $this->contactFromAccount = $contact;
                $this->customerSession->setConnectorContactId($contact->id);
            }
        }

        return $this->contactFromAccount;
    }
1257786
public function getAccounts()
    {
        $accounts = $this->serviceHelper->getService()->management_accounts->listManagementAccounts()->getItems();
        $data = array();

        foreach ($accounts as $account) {
            $data[$account->getName()] = array(
                    'accountId' => $account->getId(),
                    'accountName' => $account->getName(),
                );
        }
        ksort($data);

        return $data;
    }
1330664
public function getAllUsers() : array {
		$result = $this->db->query("SELECT id FROM accounts;");
		$users = [];
		foreach ($result->fetch_all(MYSQLI_ASSOC) as $user) {
			$users[(int)$user["id"]] = $this->getUserFromId((int)$user["id"]);
		}
		return $users;
	}
142405
public function getContactName()
    {
        $contactName = $this->getContact()->getName();

        if (!$contactName) {
            $contactName = $this->getOwner()->getContactName();
        }

        return $contactName;
    }