original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Get all subcategory IDs.
  
  @param array|int $category
  
  @return array
docstring_tokens: Get all subcategory IDs .