Overview

Namespaces

  • Core
    • BaseClasses
    • Cookie
    • Crontab
    • DB
    • Input
    • Mailer
    • Middleware
      • Auth
      • CSRF
    • Route
    • Session
    • System
  • None

Classes

  • BaseAuth
  • BaseController
  • BaseCSRF
  • Overview
  • Namespace
  • Class

Class BaseController

Namespace: Core\BaseClasses
Located at BaseController.php
Methods summary
public
# __construct( $request )

BaseController constructor. Sets the request data which can be accessed in all controllers extending this class.

BaseController constructor. Sets the request data which can be accessed in all controllers extending this class.

Parameters

$request
public static
# view( $view, array $arrayParams = [], boolean $exit = false )

Returns the view from the template engine.

Returns the view from the template engine.

Parameters

$view
$arrayParams
$exit
public static
# redirect( $path )

Redirects a user to a particular URL.

Redirects a user to a particular URL.

Parameters

$path
public static
# json( $inArray )

Returns the JSON value of the passed array

Returns the JSON value of the passed array

Parameters

$inArray
public static
# back( )

Brings the user back to the requesting page.

Brings the user back to the requesting page.

Properties summary
public $requestUri
#
public $requestMethod
#
public $requestData
#
public $rawData
#
API documentation generated by ApiGen