source/Core/OnlineLicenseCheck.php
protected function formCounters()
    {
        $userCounter = $this->getUserCounter();

        $counters = [];

        if (!is_null($this->getUserCounter())) {
            $counters[] = [
                'name' => 'admin users',
                'value' => $userCounter->getAdminCount(),
            ];
            $counters[] = [
                'name' => 'active admin users',
                'value' => $userCounter->getActiveAdminCount(),
            ];
        }

        $counters[] = [
            'name' => 'subShops',
            'value' => \OxidEsales\Eshop\Core\Registry::getConfig()->getMandateCount(),
        ];

        return $counters;
    }
protected function formCounters()
    {
        $userCounter = $this->getUserCounter();

        $counters = [];

        if (!is_null($this->getUserCounter())) {
            $counters[] = [
                'name' => 'admin users',
                'value' => $userCounter->getAdminCount(),
            ];
            $counters[] = [
                'name' => 'active admin users',
                'value' => $userCounter->getActiveAdminCount(),
            ];
        }

        $counters[] = [
            'name' => 'subShops',
            'value' => \OxidEsales\Eshop\Core\Registry::getConfig()->getMandateCount(),
        ];

        return $counters;
    }
protected function formCounters ( ) { $ userCounter = $ this -> getUserCounter ( ) ; $ counters = [ ] ; if ( ! is_null ( $ this -> getUserCounter ( ) ) ) { $ counters [ ] = [ 'name' => 'admin users' , 'value' => $ userCounter -> getAdminCount ( ) , ] ; $ counters [ ] = [ 'name' => 'active admin users' , 'value' => $ userCounter -> getActiveAdminCount ( ) , ] ; } $ counters [ ] = [ 'name' => 'subShops' , 'value' => \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getMandateCount ( ) , ] ; return $ counters ; }
Forms shop counters array for sending to OXID server.

@return array
Forms shop counters array for sending to OXID server .