• API
  • -
  • Redaxscript\Controller

Comment

  • Namespace: \Redaxscript\Controller
  • Description: children class to process the comment request
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs
  • Author: Balázs Szilágyi

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess the class
_sanitizePostprotectedsanitize the post
_validatePostprotectedvalidate the post
_createprotectedcreate the comment
_mailprotectedsend the mail
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription

ControllerAbstract

  • Namespace: \Redaxscript\Controller
  • Description: abstract class to create a controller class
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
_registryprotected
_requestprotected
_languageprotected
_configprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription

ControllerInterface

  • Namespace: \Redaxscript\Controller
  • Description: interface to define a controller class
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess the class
MethodVisibilityDescription

Install

  • Namespace: \Redaxscript\Controller
  • Description: children class to process install
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs
  • Author: Balázs Szilágyi

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess the class
_sanitizePostprotectedsanitize the post
_validateDatabaseprotectedvalidate the database
_validateAccountprotectedvalidate the account
_touchprotectedtouch sqlite file
_writeprotectedwrite config file
_getStatusprotectedget the status
_refreshConnectionprotectedrefresh the connection
_installprotectedinstall the database
_mailprotectedsend the mail
_successprotectedshow the success
_warningprotectedshow the warning
_errorprotectedshow the error
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription

Login

  • Namespace: \Redaxscript\Controller
  • Description: children class to process the login request
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs
  • Author: Balázs Szilágyi

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess the class
_sanitizePostprotectedsanitize the post
_validatePostprotectedvalidate the post
_getUserprotectedget the user
_loginprotectedlogin the user
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription

Logout

  • Namespace: \Redaxscript\Controller
  • Description: children class to process the logout request
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs
  • Author: Balázs Szilágyi

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess the class
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription

Recover

  • Namespace: \Redaxscript\Controller
  • Description: children class to process the recover request
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs
  • Author: Balázs Szilágyi

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess the class
_sanitizePostprotectedsanitize the post
_validatePostprotectedvalidate the post
_getUsersprotectedget the users
_mailprotectedsend the mail
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription

Register

  • Namespace: \Redaxscript\Controller
  • Description: children class to process the register request
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs
  • Author: Balázs Szilágyi

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess
_sanitizePostprotectedsanitize the post
_validatePostprotectedvalidate the post
_createprotectedcreate the user
_mailprotectedsend the mail
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription

Reset

  • Namespace: \Redaxscript\Controller
  • Description: children class to process the reset request
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs
  • Author: Balázs Szilágyi

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess the class
_sanitizePostprotectedsanitize the post
_validatePostprotectedvalidate the post
_getUserprotectedget the user
_resetprotectedreset the password
_mailprotectedsend the mail
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription

Search

  • Namespace: \Redaxscript\Controller
  • Description: children class to process the search request
  • Package: Redaxscript
  • Category: Controller
  • Author: Henry Ruhs
  • Author: Balázs Szilágyi

Properties

PropertyTypeVisibilityDescription
tableArrayprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
processpublicprocess the class
_sanitizeQueryprotectedsanitize the query
_validateQueryprotectedvalidate the query
_searchprotectedsearch in tables
_renderResultprotectedrender the result
_infoprotectedshow the info
__constructpublicconstructor of the class
_messengerFactoryprotectedmessenger factory
_normalizePostprotectednormalize the post
_successprotectedshow the success
_infoprotectedshow the info
_warningprotectedshow the warning
_errorprotectedshow the error
MethodVisibilityDescription