public function getChoicesByPriority($titleId, $mode, $script)
    {
        $game = $this->getTitleGame($titleId);
        return [
            [$titleId, $mode, $script],
            [$titleId, $mode, self::COMPATIBLE_ALL],
            [$titleId, self::COMPATIBLE_ALL, self::COMPATIBLE_ALL],

            // If perfect title is not found then fallback on game.
            [$game, $mode, $script],
            [$game, $mode, self::COMPATIBLE_ALL],
            [$game, self::COMPATIBLE_ALL, self::COMPATIBLE_ALL],

            // For modes that are common to all titles.
            [self::COMPATIBLE_ALL, $mode, $script],
            [self::COMPATIBLE_ALL, $mode, self::COMPATIBLE_ALL],

            // For data providers compatible with every title/gamemode/script.
            [self::COMPATIBLE_ALL, self::COMPATIBLE_ALL, self::COMPATIBLE_ALL],
        ];
    }
public function getChoicesByPriority($titleId, $mode, $script)
    {
        $game = $this->getTitleGame($titleId);
        return [
            [$titleId, $mode, $script],
            [$titleId, $mode, self::COMPATIBLE_ALL],
            [$titleId, self::COMPATIBLE_ALL, self::COMPATIBLE_ALL],

            // If perfect title is not found then fallback on game.
            [$game, $mode, $script],
            [$game, $mode, self::COMPATIBLE_ALL],
            [$game, self::COMPATIBLE_ALL, self::COMPATIBLE_ALL],

            // For modes that are common to all titles.
            [self::COMPATIBLE_ALL, $mode, $script],
            [self::COMPATIBLE_ALL, $mode, self::COMPATIBLE_ALL],

            // For data providers compatible with every title/gamemode/script.
            [self::COMPATIBLE_ALL, self::COMPATIBLE_ALL, self::COMPATIBLE_ALL],
        ];
    }
public function getChoicesByPriority ( $ titleId , $ mode , $ script ) { $ game = $ this -> getTitleGame ( $ titleId ) ; return [ [ $ titleId , $ mode , $ script ] , [ $ titleId , $ mode , self :: COMPATIBLE_ALL ] , [ $ titleId , self :: COMPATIBLE_ALL , self :: COMPATIBLE_ALL ] , // If perfect title is not found then fallback on game. [ $ game , $ mode , $ script ] , [ $ game , $ mode , self :: COMPATIBLE_ALL ] , [ $ game , self :: COMPATIBLE_ALL , self :: COMPATIBLE_ALL ] , // For modes that are common to all titles. [ self :: COMPATIBLE_ALL , $ mode , $ script ] , [ self :: COMPATIBLE_ALL , $ mode , self :: COMPATIBLE_ALL ] , // For data providers compatible with every title/gamemode/script. [ self :: COMPATIBLE_ALL , self :: COMPATIBLE_ALL , self :: COMPATIBLE_ALL ] , ] ; }
Get list of choices to test by priority.

@param string $titleId
@param string $mode
@param string $script

@return array
Get list of choices to test by priority .