class Register extends Templateable

Виджет "Форма регистрации пользователя"

Traits

Используется в классах, которым необходимо работать с БД.

Properties

$application from Widget
$widgetName from Widget
$widgetAlias from Widget
$widgetTitle from Widget
$widgetDescrib from Widget
$widgetDisabled from Widget
$widgetProtected from Widget
static $name
$post
$error
$error_message
$error_field
$success
$login_error
$email_error
$recaptcha_error
$password_error
$password2_error

Methods

static Connection
getDbConnection()

Возвращает активное соединение с БД в рамках приложения

static void
configSet(string $key, miced $value)

Сохраняет пару ключ/значение в БД

static mixed
configGet(string $key)

Возвращает значение связанное с ключем из БД

static mixed
configGetAll()

Возвращает все ключи/значения из БД

static void
configUnset(string $key)

Удаляет пару ключ/значение из БД

__construct($id, $params = null, $uid = null)

No description

from Widget
getUniqueId()

No description

from Widget
setUniqueId($uid)

No description

from Widget
getAjaxUrl()

No description

from Widget
isAjax()

No description

from Widget
getId()

No description

from Widget
getParams()

No description

from Widget
setParams($params)

No description

from Widget
getParam($name, $default = null)

No description

from Widget
setParam($name, $value)

No description

from Widget
getHtml()

No description

from Widget
display()

No description

from Widget
__toString()

No description

from Widget
save()

No description

from Widget
delete()

No description

from Widget
addToContainer($id)

No description

from Widget
removeFromContainer($id, $cleanup)

No description

from Widget
static 
setData($data)

No description

from Widget
static 
getData($key = null)

No description

from Widget
static 
getName()

No description

from Widget
getXml()

Экспорт виджета в XML

from Widget
static 
getTemplates()

No description

showRecaptcha()

No description

from ReCaptcha
initRecaptcha()

No description

from ReCaptcha
checkRecaptcha()

No description

from ReCaptcha

Details

in DbConnection at line 22
final static Connection getDbConnection()

Возвращает активное соединение с БД в рамках приложения

Return Value

Connection

in DbConnection at line 35
static void configSet(string $key, miced $value)

Сохраняет пару ключ/значение в БД

Parameters

string $key ключ
miced $value значение

Return Value

void

in DbConnection at line 47
static mixed configGet(string $key)

Возвращает значение связанное с ключем из БД

Parameters

string $key ключ

Return Value

mixed

in DbConnection at line 60
static mixed configGetAll()

Возвращает все ключи/значения из БД

Return Value

mixed

in DbConnection at line 78
static void configUnset(string $key)

Удаляет пару ключ/значение из БД

Parameters

string $key ключ

Return Value

void

in Widget at line 51
__construct($id, $params = null, $uid = null)

Parameters

$id
$params
$uid

in Widget at line 80
getUniqueId()

in Widget at line 88
setUniqueId($uid)

Parameters

$uid

in Widget at line 93
getAjaxUrl()

in Widget at line 98
isAjax()

in Widget at line 102
getId()

in Widget at line 112
getParams()

in Widget at line 117
setParams($params)

Parameters

$params

in Widget at line 126
getParam($name, $default = null)

Parameters

$name
$default

in Widget at line 142
setParam($name, $value)

Parameters

$name
$value

in Widget at line 151
getHtml()

in Widget at line 162
display()

in Widget at line 166
__toString()

in Widget at line 170
save()

in Widget at line 192
delete()

in Widget at line 201
addToContainer($id)

Parameters

$id

in Widget at line 210
removeFromContainer($id, $cleanup)

Parameters

$id
$cleanup

in Widget at line 225
final static setData($data)

Parameters

$data

in Widget at line 230
final static getData($key = null)

Parameters

$key

in Widget at line 236
final static getName()

in Widget at line 246
getXml()

Экспорт виджета в XML

in Templateable at line 100
final static getTemplates()

in ReCaptcha at line 6
showRecaptcha()

in ReCaptcha at line 11
initRecaptcha()

in ReCaptcha at line 18
checkRecaptcha()