Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
Captcha Class Reference
Inheritance diagram for Captcha:
DataObject

Public Member Functions

 Captcha ()
 
 getCaptchaId ()
 
 getDateCreated ()
 
 getPosterName ()
 
 getSessionId ()
 
 getValue ()
 
 setCaptchaId ($captchaId)
 
 setSessionId ($sessionId)
 
 setValue ($value)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter (&$metadataAdapter)
 
 DataObject ($callHooks=true)
 
extractMetadata (&$metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
getSupportedExtractionAdapters ()
 
getSupportedInjectionAdapters ()
 
getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata (&$metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
upcastTo (&$targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 

Detailed Description

Class for Captcha verifiers.

See Also
CaptchaDAO, CaptchaManager

Definition at line 23 of file Captcha.inc.php.

Member Function Documentation

Captcha::Captcha ( )

Constructor.

Definition at line 27 of file Captcha.inc.php.

Captcha::getCaptchaId ( )

get captcha id

Returns
int

Definition at line 35 of file Captcha.inc.php.

References DataObject\getId(), and Config\getVar().

Captcha::getDateCreated ( )

get date created

Returns
date

Definition at line 97 of file Captcha.inc.php.

References DataObject\getData().

Captcha::getPosterName ( )

get poster name

Returns
string

Definition at line 85 of file Captcha.inc.php.

References DataObject\getData().

Captcha::getSessionId ( )

get session id

Returns
int

Definition at line 53 of file Captcha.inc.php.

References DataObject\getData().

Captcha::getValue ( )

get value

Returns
string

Definition at line 69 of file Captcha.inc.php.

References DataObject\getData().

Captcha::setCaptchaId (   $captchaId)

set captcha id

Parameters
$captchaIdint

Definition at line 44 of file Captcha.inc.php.

References Config\getVar(), and DataObject\setId().

Captcha::setSessionId (   $sessionId)

set session id

Parameters
$sessionIdint

Definition at line 61 of file Captcha.inc.php.

References DataObject\setData().

Captcha::setValue (   $value)

set value

Parameters
$valuestring

Definition at line 77 of file Captcha.inc.php.

References DataObject\setData().


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