Overview

Namespaces

  • MvcCore
    • Ext
      • Auth
        • Virtual
      • Debug
        • Tracy
      • Form
        • Core
        • Validators
      • Request
      • Router
        • Lang
      • View
        • Helpers
  • None

Classes

  • Controller
  • SignInForm
  • SignOutForm
  • User
  • Overview
  • Namespace
  • Class
  • Tree

Class SignInForm

MvcCore\Ext\Form\Core\Base
Extended by MvcCore\Ext\Form\Core\Configuration
Extended by MvcCore\Ext\Form
Extended by MvcCore\Ext\Auth\Virtual\Form
Extended by MvcCore\Ext\Auth\SignInForm
Namespace: MvcCore\Ext\Auth
Located at ext-auth/src/MvcCore/Ext/Auth/SignInForm.php
Methods summary
public MvcCore\Ext\Auth\SignInForm
# Init( )

Initialize all form fields, initialize hidden field with sourceUrl for cases when in request params is any source url param. To return there after form is submitted.

Initialize all form fields, initialize hidden field with sourceUrl for cases when in request params is any source url param. To return there after form is submitted.

Returns

MvcCore\Ext\Auth\SignInForm

Throws

MvcCore\Ext\Form\Core\Exception

Overrides

MvcCore\Ext\Auth\Virtual\Form::Init()
public array
# Submit( array $rawParams = array() )

Sign in submit - if there is any user with the same password imprint store user in session for next requests, if there is not - wait for three seconds and then go to error page.

Sign in submit - if there is any user with the same password imprint store user in session for next requests, if there is not - wait for three seconds and then go to error page.

Parameters

$rawParams

Returns

array

Overrides

MvcCore\Ext\Auth\Virtual\Form::Submit()
Methods inherited from MvcCore\Ext\Auth\Virtual\Form
addSuccessAndErrorUrlHiddens()
Methods inherited from MvcCore\Ext\Form
AddError(), AddField(), AddFields(), ClearSession(), GetCsrf(), GetField(), GetFieldsByClass(), GetFieldsByType(), GetFirstFieldsByClass(), Prepare(), RedirectAfterSubmit(), RemoveField(), Render(), RenderBegin(), RenderContent(), RenderCss(), RenderEnd(), RenderErrors(), RenderJs(), SetUpCsrf(), UnsetEmptyData(), ValidateCsrf(), __construct(), __toString()
Methods inherited from MvcCore\Ext\Form\Core\Configuration
AddCsrfErrorHandler(), AddCss(), AddCssClass(), AddJs(), SetAction(), SetAttributes(), SetCss(), SetCssClass(), SetCssRenderer(), SetDefaults(), SetEnctype(), SetErrorUrl(), SetErrorsRenderMode(), SetFieldsDefaultRenderMode(), SetId(), SetJs(), SetJsRenderer(), SetLang(), SetLocale(), SetMethod(), SetNextStepUrl(), SetRequired(), SetSuccessUrl(), SetTemplatePath(), SetTemplateTypePath(), SetTranslate(), SetTranslator()
Methods inherited from MvcCore\Ext\Form\Core\Base
absolutizeAssetPath(), cleanUpRenderIfNecessary(), completeAssets(), getRequestPath(), prepareRenderIfNecessary(), renderAssetFile(), submitField(), submitFields()
Constants inherited from MvcCore\Ext\Form
VERSION
Constants inherited from MvcCore\Ext\Form\Core\Configuration
CHOOSE_MAX_OPTS, CHOOSE_MAX_OPTS_BUBBLE, CHOOSE_MIN_OPTS, CHOOSE_MIN_OPTS_BUBBLE, CSRF, DATE, DATETIME, DATE_TO_HIGH, DATE_TO_LOW, EMAIL, EMPTY_CONTENT, ENCTYPE_MULTIPART, ENCTYPE_PLAINTEXT, ENCTYPE_URLENCODED, EQUAL, ERROR_RENDER_MODE_AFTER_EACH_CONTROL, ERROR_RENDER_MODE_ALL_TOGETHER, ERROR_RENDER_MODE_BEFORE_EACH_CONTROL, FIELD_RENDER_MODE_LABEL_AROUND, FIELD_RENDER_MODE_NORMAL, FIELD_RENDER_MODE_NO_LABEL, FLOAT, GREATER, HTML_IDS_DELIMITER, IMAGE, INTEGER, INVALID_CHARS, INVALID_FORMAT, LENGTH, LOWER, MAX_FILE_SIZE, MAX_LENGTH, MAX_POST_SIZE, METHOD_CONNECT, METHOD_DELETE, METHOD_GET, METHOD_HEAD, METHOD_OPTIONS, METHOD_PATCH, METHOD_POST, METHOD_PUT, METHOD_TRACE, MIME_TYPE, MIN_LENGTH, NOT_EQUAL, NUMBER, PHONE, RANGE, REQUIRED, RESULT_ERRORS, RESULT_NEXT_PAGE, RESULT_SUCCESS, TAX_ID, TIME, TIME_TO_HIGH, TIME_TO_LOW, URL, VALID, VAT_ID, ZIP_CODE
Properties summary
public string $CssClass
# 'sign-in'
Properties inherited from MvcCore\Ext\Auth\Virtual\Form
$Id, $Method
Properties inherited from MvcCore\Ext\Form\Core\Configuration
$Action, $Attributes, $Controller, $Css, $CssRenderer, $Data, $DefaultMessages, $Enctype, $ErrorUrl, $Errors, $ErrorsRenderMode, $Fields, $FieldsDefaultRenderMode, $Js, $JsBaseFile, $JsRenderer, $Lang, $Locale, $NextStepUrl, $Required, $Result, $SuccessUrl, $TemplatePath, $TemplateTypePath, $Translate, $Translator, $View
Properties inherited from MvcCore\Ext\Form\Core\Base
$csrfErrorHandlers, $css, $cssAssetsRootDir, $initialized, $js, $jsAssetsRootDir
MvcCore API documentation generated by ApiGen