public static function getAllSubcategoriesIds($category)
    {
        $ids = Database::getInstance()->getChildRecords($category, static::$strTable, false, (array) $category, (!BE_USER_LOGGED_IN ? 'published=1' : ''));
        $ids = \array_map('intval', $ids);

        return $ids;
    }
public static function getAllSubcategoriesIds($category)
    {
        $ids = Database::getInstance()->getChildRecords($category, static::$strTable, false, (array) $category, (!BE_USER_LOGGED_IN ? 'published=1' : ''));
        $ids = \array_map('intval', $ids);

        return $ids;
    }
public static function getAllSubcategoriesIds ( $ category ) { $ ids = Database :: getInstance ( ) -> getChildRecords ( $ category , static :: $ strTable , false , ( array ) $ category , ( ! BE_USER_LOGGED_IN ? 'published=1' : '' ) ) ; $ ids = \ array_map ( 'intval' , $ ids ) ; return $ ids ; }
Get all subcategory IDs.

@param array|int $category

@return array
Get all subcategory IDs .