public static function GetRandomSoundStyle($_iyjd7d1tnyanqpe6 = null)
 {
     $_15tt56q1tmi3ucsdjcp1j = LBD_CaptchaDefaults::SoundStyle;
     if (!is_array($_iyjd7d1tnyanqpe6) || 0 == count($_iyjd7d1tnyanqpe6)) {
         $_iyjd7d1tnyanqpe6 = array_keys(SoundStyle::$Names);
     }
     $_iyjd7d1tnyanqpe6 = LBD_CollectionHelper::ArraySubtract($_iyjd7d1tnyanqpe6, CaptchaConfiguration::GetDisabledSoundStyles());
     if (0 == count($_iyjd7d1tnyanqpe6)) {
         throw new Exception("Disabled SoundStyles include all possible values!");
     }
     $_15tt56q1tmi3ucsdjcp1j = LBD_RandomizationHelper::RandomFromValues($_iyjd7d1tnyanqpe6);
     return $_15tt56q1tmi3ucsdjcp1j;
 }
 public static function GetRandomSoundStyle($_1fqeupo31hy8fr5dds8n3 = null)
 {
     $_Op3rxo7cqa2bbxorpj9c8 = LBD_CaptchaDefaults::SoundStyle;
     if (!is_array($_1fqeupo31hy8fr5dds8n3) || 0 == count($_1fqeupo31hy8fr5dds8n3)) {
         $_1fqeupo31hy8fr5dds8n3 = array_keys(SoundStyle::$Names);
     }
     $_1fqeupo31hy8fr5dds8n3 = LBD_CollectionHelper::ArraySubtract($_1fqeupo31hy8fr5dds8n3, CaptchaConfiguration::GetDisabledSoundStyles());
     if (0 == count($_1fqeupo31hy8fr5dds8n3)) {
         throw new Exception("Disabled SoundStyles include all possible values!");
     }
     $_Op3rxo7cqa2bbxorpj9c8 = LBD_RandomizationHelper::RandomFromValues($_1fqeupo31hy8fr5dds8n3);
     return $_Op3rxo7cqa2bbxorpj9c8;
 }
 public static function GetRandomSoundStyle($_ijlorof3vq564l7ocpeer28949 = null)
 {
     $_ieser8lbceubl9hsgvq12ear9o = LBD_CaptchaDefaults::SoundStyle;
     if (!is_array($_ijlorof3vq564l7ocpeer28949) || 0 == count($_ijlorof3vq564l7ocpeer28949)) {
         $_ijlorof3vq564l7ocpeer28949 = array_keys(SoundStyle::$Names);
     }
     $_ijlorof3vq564l7ocpeer28949 = LBD_CollectionHelper::ArraySubtract($_ijlorof3vq564l7ocpeer28949, CaptchaConfiguration::GetDisabledSoundStyles());
     if (0 == count($_ijlorof3vq564l7ocpeer28949)) {
         throw new Exception("Disabled SoundStyles include all possible values!");
     }
     $_ieser8lbceubl9hsgvq12ear9o = LBD_RandomizationHelper::RandomFromValues($_ijlorof3vq564l7ocpeer28949);
     return $_ieser8lbceubl9hsgvq12ear9o;
 }
Esempio n. 4
0
 public static function GetRandomSoundStyle($_O106h49qhngy40yiedb40 = null)
 {
     $_Iqdhjs6jenwu9w5x6ho41gihgr = LBD_CaptchaDefaults::SoundStyle;
     if (!is_array($_O106h49qhngy40yiedb40) || 0 == count($_O106h49qhngy40yiedb40)) {
         $_O106h49qhngy40yiedb40 = array_keys(SoundStyle::$Names);
     }
     $_O106h49qhngy40yiedb40 = LBD_CollectionHelper::ArraySubtract($_O106h49qhngy40yiedb40, CaptchaConfiguration::GetDisabledSoundStyles());
     if (0 == count($_O106h49qhngy40yiedb40)) {
         throw new Exception("Disabled SoundStyles include all possible values!");
     }
     $_Iqdhjs6jenwu9w5x6ho41gihgr = LBD_RandomizationHelper::RandomFromValues($_O106h49qhngy40yiedb40);
     return $_Iqdhjs6jenwu9w5x6ho41gihgr;
 }