3 namespace Civi\Api4\Action\Domain
;
8 class Get
extends \Civi\Api4\Generic\DAOGetAction
{
11 * Return only the current domain.
15 protected $currentDomain = FALSE;
20 protected function getObjects() {
21 if ($this->currentDomain
) {
22 $this->addWhere('id', '=', \CRM_Core_Config
::domainID());
24 return parent
::getObjects();