Returns domain component id for current component

@return string
323822
public function getDomainComponentId()
    {
        if (!isset($this->_domainComponentIdCache)) { //cache ist vorallem für bei kwfUnserialize nützlich
            $this->_domainComponentIdCache = $this->getDomainComponent()->componentId;
        }
        return $this->_domainComponentIdCache;
    }
867426
public function getComponentAccount()
    {
        $api = wei()->wechatComponentApi;
        $this->componentAccount || $this->componentAccount = wei()->wechatAccount()->cache()->findOrInit(['applicationId' => $api->getAppId()]);

        return $this->componentAccount;
    }
640601
public function ids() {
		// if the component has not been created yet
		if (!isset($this->ids)) {
			// create the component
			$this->ids = new Id(
				$_ENV['SECURITY_IDS_ALPHABET'],
				$_ENV['SECURITY_IDS_PRIME'],
				$_ENV['SECURITY_IDS_INVERSE'],
				$_ENV['SECURITY_IDS_RANDOM']
			);
		}

		// return the component
		return $this->ids;
	}
1362309
public function toString() : string
   {

      if ( empty( $this->_subDomainName ) )
      {

         if ( null === $this->_sld )
         {
            return '';
         }

         return $this->_sld->toString();

      }

      if ( null === $this->_sld )
      {
         return $this->_subDomainName;
      }

      return $this->_subDomainName . '.' . $this->_sld->toString();

   }
830278
public function getID(): ?string
    {
        $sessionKey = $this->getSessionKey();
        if (strlen($sessionKey) === 0) {
            return null;
        }
        $cacheKey = 'id-' . $sessionKey;
        if (!isset(self::$cache[$cacheKey])) {
            self::$cache[$cacheKey] = null;
            $data = Internal\Data::getValue('.temp/bearcms/userkeys/' . md5($sessionKey));
            if ($data !== null) {
                self::$cache[$cacheKey] = $data;
            }
        }
        return self::$cache[$cacheKey];
    }
1333351
public function getSiteId()
    {
        if (is_null($this->siteId)) {
            $this->siteId = $this->getSite()['siteId'];
        }

        return $this->siteId;
    }
755582
protected function getComponentId($name)
    {
        $where  = [
            'name'    => $name,
            'type_id' => app(ComponentTypes::class)->newInstance()->getDefault()->id
        ];
        $exists = $this->makeModel()->where($where)->first();
        if (!is_null($exists)) {
            return $exists->id;
        }
        $component = $this->makeModel()->getModel()->newInstance($where);
        $component->save();
        return $component->id;
    }
284372
protected function getLayoutId()
    {
        $paragraph = $this->findParagraph();

        if ( empty( $paragraph ) )
        {
            /* @var $structure \Core\Model\SubDomain\Structure */
            $structure = $this->getServiceLocator()
                              ->get( 'Grid\Core\Model\SubDomain\Model' )
                              ->findActual();

            return $structure->defaultLayoutId;
        }
        else
        {
            return $paragraph->layoutId;
        }
    }
1339730
public function getDomainName(): string
    {
        return $this->myDomainParts[count($this->myDomainParts) - 1] . ($this->myTld !== null ? '.' . $this->myTld : '');
    }
122085
protected function getComponentId($object)
    {
        /** @var Application $app */
        $app = Yii::$app->getApplication();
        $components = $app->getComponents(false);
        foreach ($components as $id => $component) {
            if($object === $component){
                return $id;
            }
        }
        return false;
    }
175155
public static function getDomain()
	{
		if (!isset(self::$RCACHE)) static::cacheReqData();

		//decide if tld needs to be joined
		if (self::$RCACHE['numParts'] > 1) {
			return self::$RCACHE['hostParts'][1] . '.' . static::getTld();
		} else {
			return self::$RCACHE['hostParts'][0];
		}
	}
1028562
public function getComponentVerifyTicket() {
        $msg = cache::get("ComponentVerifyTicket");
        $xml = new \DOMDocument();
        $xml->loadXML($msg);
        $ComponentVerifyTicket = $xml->getElementsByTagName('ComponentVerifyTicket')->item(0)->nodeValue;
        if ($ComponentVerifyTicket) {
            return $ComponentVerifyTicket;
        } else {
            return false;
        }
    }
8934
public function getExpandedComponentId()
    {
        if ($this->_expandedComponentIdCache) {
            return $this->_expandedComponentIdCache;
        }
        $generator = $this->generator;
        if ($generator instanceof Kwc_Root_Category_Generator) {
            $separator = '_';
        } else {
            $separator = $generator->getIdSeparator();
        }
        $this->_expandedComponentIdCache = $this->parent->getExpandedComponentId() .
            $separator . $this->id;

        return $this->_expandedComponentIdCache;
    }
918304
public function getComponents($domain = null)
    {
        $components = $result = array_keys($this->_components);

        if($domain)
        {
            foreach($components as $key => $component)
            {
                if(strpos($component, 'com://'.$domain) === false) {
                    unset($components[$key]);
                }
            }
        }

        return $components;
    }
398174
protected function getDomain()
    {
        if ($this->domain !== null) {
            return $this->domain;
        }

        if (PHP_SAPI == 'cli') {
            $this->domain = '__CLI__';
            return $this->domain;
        }

        $this->domain = isset($_SERVER['SERVER_NAME'])? $_SERVER['SERVER_NAME'] : 'default';
        return $this->domain;
    }
872257
public function getHtmlId()
    {
        $id = '';
        if (is_object($this->parent)) {
            $id = $this->parent->getHtmlId();
        }
        
        if ($this->key !== '') {
            $id .= '-' . $this->key;
        }
        
        return $id;
    }
555061
public function getViewId()
    {
        if (!isset($this->_sViewId)) {
            $this->_sViewId = parent::getViewId() . '|' . \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('oxcid');
        }

        return $this->_sViewId;
    }