4 require_once 
'Services/Captcha/classes/class.ilSecurImageUtil.php';
 
   54                 if(!function_exists(
"imagettftext"))
 
   56                         $this->securimage->use_gd_font = 
true;
 
   59                 $this->securimage->num_lines = 3;
 
   76                 return $this->securimage->check($a_input);
 
   85                 $this->securimage->show();
 
   91         public function outputAudioFile()
 
  100                         $lng->lang_key != 
'en' &&
 
  101                         in_array($lng->lang_key, self::$supported_audio_languages)
 
  104                         $this->securimage->audio_path = $this->securimage->securimage_path . 
'/audio/' . $lng->lang_key . 
'/';
 
  106                 $this->securimage->outputAudioFile();
 
  117                         throw new InvalidArgumentException(
'Please provide a valid image height (numeric value > 0 and <= ' . self::MAX_CAPTCHA_IMG_HEIGHT);
 
  138                         throw new InvalidArgumentException(
'Please provide a valid image width (numeric value > 0 and <= ' . self::MAX_CAPTCHA_IMG_WIDTH);