ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSecurImageUtil Class Reference

SecurImage Library Utility functions. More...

+ Collaboration diagram for ilSecurImageUtil:

Public Member Functions

 includeSecurImage ()

Static Public Member Functions

static getDirectory ()
static getImageScript ()
static getAudioScript ()

Static Private Attributes

static $ver = '3_5_1'

Detailed Description

SecurImage Library Utility functions.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 11 of file class.ilSecurImageUtil.php.

Member Function Documentation

static ilSecurImageUtil::getAudioScript ( )
static
Returns
string

Definition at line 37 of file class.ilSecurImageUtil.php.

References ilUtil\appendUrlParameterString(), getDirectory(), and ilUtil\getImagePath().

{
$script = self::getDirectory() . '/securimage_play.swf';
$script = ilUtil::appendUrlParameterString($script, 'audio_file=' . self::getDirectory() . '/il_securimage_play.php', true);
$script = ilUtil::appendUrlParameterString($script, 'icon_file=' . ilUtil::getImagePath('icon_audiocaptcha-19.png'), true);
return $script;
}

+ Here is the call graph for this function:

static ilSecurImageUtil::getDirectory ( )
static
Returns
string

Definition at line 21 of file class.ilSecurImageUtil.php.

References $ver.

Referenced by getAudioScript(), getImageScript(), and ilSecurImage\showImage().

{
return './Services/Captcha/lib/securimage_' . self::$ver;
}

+ Here is the caller graph for this function:

static ilSecurImageUtil::getImageScript ( )
static
Returns
string

Definition at line 29 of file class.ilSecurImageUtil.php.

References getDirectory().

{
return self::getDirectory() . '/il_securimage_show.php';
}

+ Here is the call graph for this function:

ilSecurImageUtil::includeSecurImage ( )

Definition at line 48 of file class.ilSecurImageUtil.php.

Referenced by ilSecurImage\__construct().

{
require_once 'Services/Captcha/lib/securimage_' . self::$ver . '/securimage.php';
}

+ Here is the caller graph for this function:

Field Documentation

ilSecurImageUtil::$ver = '3_5_1'
staticprivate

Definition at line 16 of file class.ilSecurImageUtil.php.

Referenced by getDirectory().


The documentation for this class was generated from the following file: