class Library extends ConcreteObject (View source)

Properties

$error from ConcreteObject
string $saslHandle
string $saslName
bool $saslIsActive
int $pkgID

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

string
string
getSystemAntispamLibraryName()

No description

bool
int
getPackageID()

No description

bool
getPackageHandle()

No description

Package
getPackageObject()

No description

static Library
getActive()

No description

static Library
getByHandle(string $saslHandle)

No description

static Library
add(string $saslHandle, string $saslName, bool|Package $pkg = false)

No description

delete()

Delete a library.

activate()

Activate an Antispam library.

static 
deactivateAll()

Deactivate all Antispam Libraries, (called by activate()).

static Library[]
getList()

No description

static Library[]
getListByPackage(Package $pkg)

No description

static 
exportList(SimpleXMLElement $xml)

No description

bool
hasOptionsForm()

No description

mixed
getController()

Returns the controller class for the currently selected captcha library.

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

string getSystemAntispamLibraryHandle()

Return Value

string

string getSystemAntispamLibraryName()

Return Value

string

bool isSystemAntispamLibraryActive()

Return Value

bool

int getPackageID()

Return Value

int

bool getPackageHandle()

Return Value

bool

Package getPackageObject()

Return Value

Package

static Library getActive()

Return Value

Library

static Library getByHandle(string $saslHandle)

Parameters

string $saslHandle

Return Value

Library

static Library add(string $saslHandle, string $saslName, bool|Package $pkg = false)

Parameters

string $saslHandle
string $saslName
bool|Package $pkg

Return Value

Library

delete()

Delete a library.

activate()

Activate an Antispam library.

static deactivateAll()

Deactivate all Antispam Libraries, (called by activate()).

static Library[] getList()

Return Value

Library[]

static Library[] getListByPackage(Package $pkg)

Parameters

Package $pkg

Return Value

Library[]

static exportList(SimpleXMLElement $xml)

Parameters

SimpleXMLElement $xml

bool hasOptionsForm()

Return Value

bool

mixed getController()

Returns the controller class for the currently selected captcha library.

Return Value

mixed