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)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

string getSystemAntispamLibraryHandle()

No description

Return Value

string

string getSystemAntispamLibraryName()

No description

Return Value

string

bool isSystemAntispamLibraryActive()

No description

Return Value

bool

int getPackageID()

No description

Return Value

int

bool getPackageHandle()

No description

Return Value

bool

Package getPackageObject()

No description

Return Value

Package

static Library getActive()

No description

Return Value

Library

static Library getByHandle(string $saslHandle)

No description

Parameters

string $saslHandle

Return Value

Library

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

No description

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()

No description

Return Value

Library[]

static Library[] getListByPackage(Package $pkg)

No description

Parameters

Package $pkg

Return Value

Library[]

static exportList(SimpleXMLElement $xml)

No description

Parameters

SimpleXMLElement $xml

bool hasOptionsForm()

No description

Return Value

bool

mixed getController()

Returns the controller class for the currently selected captcha library.

Return Value

mixed