code: protected function getPaletteCombinationRows()
      {
          $combinations = $this->getCombinationsFromDatabase();
          $success      = array();
  
          // No combinations present, nothing to resolve.
          if (!$combinations) {
              return array_keys($this->information);
          }
  
          foreach ($combinations as $combination) {
              /** @noinspection PhpUndefinedFieldInspection */
              $modelId   = $combination->pid;
              $modelName = $this->tableNameFromId($modelId);
  
              // Already a combination present, continue with next one.
              if (!empty($this->information[$modelName][self::COMBINATION])) {
                  continue;
              }
  
              /** @noinspection PhpUndefinedFieldInspection */
              $this->information[$modelName][self::MODELID] = $modelId;
  
              /** @noinspection PhpUndefinedFieldInspection */
              $this->information[$modelName][self::COMBINATION] = array(
                  'dca_id'  => $combination->dca_id,
                  'view_id' => $combination->view_id
              );
  
              $this->setTableMapping($modelId, $modelName);
  
              $success[] = $modelId;
          }
  
          return $success;
      }
docs: Fetch the palette view configurations valid for the given group ids.
  
  This returns the ids that have been resolved.
  
  @return int[]