src/Service/Cdn.php
public function getCountCommonBuckets($aData = [])
    {
        if (!empty($aData['keywords'])) {
            if (empty($aData['or_like'])) {
                $aData['or_like'] = [];
            }
            $aData['or_like'][] = [
                'column' => 'b.label',
                'value'  => $aData['keywords'],
            ];
        }

        $this->getCountCommon($aData);
    }
public function getCountCommonBuckets($aData = [])
    {
        if (!empty($aData['keywords'])) {
            if (empty($aData['or_like'])) {
                $aData['or_like'] = [];
            }
            $aData['or_like'][] = [
                'column' => 'b.label',
                'value'  => $aData['keywords'],
            ];
        }

        $this->getCountCommon($aData);
    }
public function getCountCommonBuckets ( $ aData = [ ] ) { if ( ! empty ( $ aData [ 'keywords' ] ) ) { if ( empty ( $ aData [ 'or_like' ] ) ) { $ aData [ 'or_like' ] = [ ] ; } $ aData [ 'or_like' ] [ ] = [ 'column' => 'b.label' , 'value' => $ aData [ 'keywords' ] , ] ; } $ this -> getCountCommon ( $ aData ) ; }
Applies keyword searching for buckets

@param array $aData Data to pass to parent::getCountCommon
Applies keyword searching for buckets