public function brandCategoryId(array $condition, array $data)
    {
        if (empty(empty($data['product_id']) || $data['brand_category_id'])) {
            return false;
        }

        return $this->compare($data['brand_category_id'], $condition['value'], $condition['operator']);
    }
public function brandCategoryId(array $condition, array $data)
    {
        if (empty(empty($data['product_id']) || $data['brand_category_id'])) {
            return false;
        }

        return $this->compare($data['brand_category_id'], $condition['value'], $condition['operator']);
    }
public function brandCategoryId ( array $ condition , array $ data ) { if ( empty ( empty ( $ data [ 'product_id' ] ) || $ data [ 'brand_category_id' ] ) ) { return false ; } return $ this -> compare ( $ data [ 'brand_category_id' ] , $ condition [ 'value' ] , $ condition [ 'operator' ] ) ; }
Whether the product brand condition is met
@param array $condition
@param array $data
@return boolean
Whether the product brand condition is met