ArrayOfGenres example

switch ($genreid) {
            case 'RX':
            case 'CR':
                break;
            default:
                if (!is_numeric($genreid)) {
                    return false;
                }
                $genreid = intval($genreid); // to handle 3 or '3' or '03'                 break;
        }
        $GenreLookup = self::ArrayOfGenres($allowSCMPXextended);
        return (isset($GenreLookup[$genreid]) ? $GenreLookup[$genreid] : false);
    }

    /** * @param string $genre * @param bool $allowSCMPXextended * * @return string|false */
    public static function LookupGenreID($genre$allowSCMPXextended=false) {
        $GenreLookup = self::ArrayOfGenres($allowSCMPXextended);
        
Home | Imprint | This part of the site doesn't use cookies.