• API
  • -
  • Redaxscript

Header

  • Namespace: Redaxscript
  • Description: children class to add and remove the header
  • Package: Redaxscript
  • Category: Header
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
initpublicinit the class
addpublicadd the header
removepublicremove the header
isSentpublicis header sent
getArraypublicget the header array
responseCodepublicresponse code
doRedirectpublicredirect to location
contentTypepubliccontent type
MethodVisibilityDescription

Hash

  • Namespace: Redaxscript
  • Description: parent class to create a salted hash
  • Package: Redaxscript
  • Category: Hash
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_rawstringprotectedplain raw
$_hashstringprotectedsalted hash
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
initpublicinit the class
getRawpublicget the raw
getHashpublicget the hash
validatepublicvalidate raw again hash
_createprotectedcreate a salted hash
MethodVisibilityDescription

Registry

  • Namespace: Redaxscript
  • Description: children class to store the registry
  • Package: Redaxscript
  • Category: Registry
  • Author: Gary Aylward
  • Inherited from: \Redaxscript\Singleton

Properties

PropertyTypeVisibilityDescription
$_registryArrayarrayprotectedarray of the registry
$_instance\Redaxscript\Singletonprotectedinstance of the class
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
initpublicinit the class
getpublicget the value from registry
setpublicset the value to registry
__constructprivateconstructor of the class
getInstancepublicget the instance
clearInstancepublicclear the instance
MethodVisibilityDescription

Dater

  • Namespace: Redaxscript
  • Description: parent class to handle the date time
  • Package: Redaxscript
  • Category: Date
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_timeZone\DateTimeZoneprotectedtime zone
$_dateTime\DateTimeprotecteddate time
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
initpublicinit the class
getTimeZonepublicget the time zone
getDateTimepublicget the date time
formatTimepublicformat to time
formatDatepublicformat to date
formatFieldpublicformat to field
MethodVisibilityDescription

Installer

  • Namespace: Redaxscript
  • Description: parent class to install the database
  • Category: Installer
  • Package: Redaxscript
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_registry\Redaxscript\Registryprotectedinstance of the registry class
$_request\Redaxscript\Requestprotectedinstance of the request class
$_language\Redaxscript\Languageprotectedinstance of the language class
$_config\Redaxscript\Configprotectedinstance of the config class
$_directorystringprotectedname of the directory
$_prefixPlaceholderstringprotectedplaceholder for the prefix
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
__constructpublicconstructor of the class
initpublicinit the class
rawCreatepubliccreate from sql
rawDroppublicdrop from sql
insertDatapublicinsert the data
insertCategoriespublicinsert the categories
insertArticlespublicinsert the articles
insertExtraspublicinsert the extras
insertCommentspublicinsert the comments
insertGroupspublicinsert the groups
insertUserspublicinsert the users
insertModulespublicinsert the modules
insertSettingspublicinsert the settings
_rawExecuteprotectedexecute from sql
MethodVisibilityDescription

Captcha

  • Namespace: Redaxscript
  • Description: parent class to provide a mathematical task
  • Package: Redaxscript
  • Category: Captcha
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_language\Redaxscript\Languageprotectedinstance of the language class
$_modeintegerprotectedcaptcha operator mode
$_taskstringprotectedtask to be solved
$_solutionintegerprotectedsolution to the task
$_rangeArrayarrayprotectedallowed range for the task
$_operatorArrayarrayprotectedarray of mathematical operators used for the task
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
__constructpublicconstructor of the class
initpublicinit the class
getTaskpublicget the task
getSolutionpublicget the solution
getMinpublicget the minimum range
getMaxpublicget the maximum range
_getOperatorprotectedget the mathematical operator used for the task
_createprotectedcreate a task of two numbers between allowable range
MethodVisibilityDescription

Autoloader

  • Namespace: Redaxscript
  • Description: parent class to load required class files
  • Package: Redaxscript
  • Category: Autoloader
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_autoloadArrayarrayprotectedarray of the autoload
$_fileExtensionstringprotectedfile extension
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
initpublicinit the class
_loadprotectedload the class file
_getFileprotectedget the file
MethodVisibilityDescription

Request

  • Namespace: Redaxscript
  • Description: children class to request globals
  • Package: Redaxscript
  • Category: Request
  • Author: Henry Ruhs
  • Inherited from: \Redaxscript\Singleton

Properties

PropertyTypeVisibilityDescription
$_requestArrayarrayprotectedarray of the request
$_instance\Redaxscript\Singletonprotectedinstance of the class
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
initpublicinit the class
getpublicget the value from globals
getServerpublicget the value from server
getQuerypublicget the value from query
getPostpublicget the value from post
getFilespublicget the value from files
getSessionpublicget the value from session
getCookiepublicget the value from cookie
setpublicset the value to globals
setServerpublicset the value to server
setQuerypublicset the value to query
setPostpublicset the value to post
setFilespublicset the value to files
setSessionpublicset the value to session
setCookiepublicset the value to cookie
refreshSessionpublicrefresh the session
refreshCookiepublicrefresh the cookie
__constructprivateconstructor of the class
getInstancepublicget the instance
clearInstancepublicclear the instance
MethodVisibilityDescription

Singleton

  • Namespace: Redaxscript
  • Description: abstract class to create a singleton class
  • Package: Redaxscript
  • Category: Singleton
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_instance\Redaxscript\Singletonprotectedinstance of the class
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
__constructprivateconstructor of the class
getInstancepublicget the instance
clearInstancepublicclear the instance
MethodVisibilityDescription

Language

  • Namespace: Redaxscript
  • Description: children class to provide the language
  • Package: Redaxscript
  • Category: Language
  • Author: Henry Ruhs
  • Inherited from: \Redaxscript\Singleton

Properties

PropertyTypeVisibilityDescription
$_languageArrayarrayprotectedarray of the language
$_instance\Redaxscript\Singletonprotectedinstance of the class
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
initpublicinit the class
getpublicget the value from language
setpublicset the value to language
loadpublicload from language path
__constructprivateconstructor of the class
getInstancepublicget the instance
clearInstancepublicclear the instance
MethodVisibilityDescription