A

AppClass in namespace Inphinit
Cache::allow() — Method in class Cache

Check if is HEAD or GET, you can overwrite this method

Dir::application() — Method in class Dir

Return items from application folder

Helper::assoc() — Method in class Helper

Check if array is associative, like [ 'bar' => foo', 'baz' => 'bar']

Negotiation::acceptLanguage() — Method in class Negotiation

Get all languages by Accept-Language header sorted by q-factor (defined by $sort)

Negotiation::acceptCharset() — Method in class Negotiation

Get all languages by Accept-Charset header and sort by q-factor (defined by $sort)

Negotiation::acceptEncoding() — Method in class Negotiation

Get all languages by Accept-Encoding header and sort by q-factor (defined by $sort)

Negotiation::accept() — Method in class Negotiation

Get all document types by Accept header and sorted by q-factor (defined by $sort)

Packages::auto() — Method in class Packages

Auto import composer packages

Regex::args() — Method in class Regex

Convert one argument like {:[a-z]+:} to ([a-z]+), this function is used by Router::parse

Redirector::action() — Method in class Redirector

Redirect to route based

Resource::action() — Method in class Resource

Define routes based on class methods

Treaty::action() — Method in class Treaty

Define routes based on class methods

Shell::arguments() — Method in class Shell

Get arguments

Storage::autoclean() — Method in class Storage

Clear old files in a folder from storage path

B

Redirect::back() — Method in class Redirect

Return to redirect to new path

C

App::config() — Method in class App

Get application configs

CacheClass in namespace Inphinit
Cache::cached() — Method in class Cache

Checks if page (from route) is already cached.

CheckupClass in namespace Inphinit
ConfigClass in namespace Inphinit
Debug::classes() — Method in class Debug

Get declared classes

Debug::constants() — Method in class Debug

Get defined constants

Debug::caller() — Method in class Debug

Get backtrace php scripts

Selector::count() — Method in class Selector

Count all nodes matching the given CSS selector

Dir::current() — Method in class Dir

Get current file with type, path and filename The entries are returned in the order in which they are stored by the filesystem.

Dir::count() — Method in class Dir

Count files in folder, can br used by count($instance) funciton

Form::comboRange() — Method in class Form

Generate combo by range

Form::combo() — Method in class Form

Create a select combo based in an array

File::clearstat() — Method in class File

Clear state files and clear size files in Inphinit\File::size

Helper::capitalize() — Method in class Helper

Capitalize words using hyphen or a custom delimiter.

Request::cookie() — Method in class Request

Get a value from $_COOKIE (support path using dots)

Response::content() — Method in class Response

Get or set status code and return last status code

Response::cache() — Method in class Response

Set header to cache page Response::cache($seconds, $modified = 0);

Packages::classmap() — Method in class Packages

Load autoload_classmap.php classes

Group::create() — Method in class Group

Create a new route group

Group::checkSecurity() — Method in class Group

Method is used for check if HTTPS or HTTP or both

Group::checkDomain() — Method in class Group

Method is used for check domain and return arguments if using regex

Group::checkPath() — Method in class Group

Method is used for check path

$ Resource#contentTypeProperty in class Resource

Define content-type header

Session::commit() — Method in class Session

Lock session file and save variables

Storage::createFolder() — Method in class Storage

Create a folder in storage using 0700 permission (if unix-like)

Uri::canonpath() — Method in class Uri

Canonicalize paths

Uri::canonquery() — Method in class Uri

Reorder querystring by "keys" if: Uri::canonquery('z=1&u=2&a=5') returns a=5&u=2&z=1

D

App::dispatch() — Method in class App

Dispatch before ready event if exec is Ok, or dispatch after finish event if stop() is executed

DebugClass in namespace Inphinit
DocumentClass in namespace Inphinit\Dom
DomExceptionClass in namespace Inphinit\Dom
DirClass in namespace Inphinit\Experimental
Response::download() — Method in class Response

Force download current page

Maintenance::down() — Method in class Maintenance

Down site to maintenance mode

Group::domain() — Method in class Group

Define domain for group

$ Uri#defaultPortsProperty in class Uri

Define default port to schemes, you can customize in a extended class If put a new port with scheme he is removed in final url, eg. 'myscheme:900', ClassExtendedFromUri::normalize('myscheme://host:900/test') => myscheme://host/test

$ Uri#defaultSchemesProperty in class Uri

Define default schemes, you can customize in a extended class If put a new scheme the host is converted to lower-case, eg. 'whatsapp', Uri::normalize('whatsapp://SEND?text=foo') => whatsapp://send?text=foo

View::dispatch() — Method in class View

Starts rendering of registered views. After calling this method call it will automatically execute View::forceRender()

View::data() — Method in class View

Share or remove shared data to Views, shared variables will be added as variables to the views that will be executed later

E

App::exec() — Method in class App

Start application using routes

ExceptionClass in namespace Inphinit
File::exists() — Method in class File

Check if file exists using case-sensitive, For help developers who using Windows OS and using unix-like for production

File::encoding() — Method in class File

Determines whether the file is binary

Helper::extract() — Method in class Helper

Read array or object by path using dot

Maintenance::enable() — Method in class Maintenance

Enable/disable maintenance mode

Uri::encodepath() — Method in class Uri

Convert text to URL format

View::exists() — Method in class View

Check if view exists in ./application/View/ folder

F

Cache::finish() — Method in class Cache

Write cache

Debug::functions() — Method in class Debug

Get declared functions

Document::fromArray() — Method in class Document

Convert a array in node elements

Document::first() — Method in class Document

Use query-selector like CSS, jQuery, querySelector

FormClass in namespace Inphinit\Experimental
FileClass in namespace Inphinit
Negotiation::fromString() — Method in class Negotiation

Create a Negotiation instance based in string (eg.: curl_opt(..., CURL_OPT_HEADER, true))

Request::file() — Method in class Request

Get a value from $_FILES (support path using dots)

$ Resource#formatProperty in class Resource

Define path format, possible values: self::SLASH, self::NOSLASH, self::SLASH|self::NOSLASH

Router::find() — Method in class Router

Get params from routes using regex

$ Treaty#formatProperty in class Treaty

Define path format, possible values: self::SLASH, self::NOSLASH, self::SLASH|self::NOSLASH

View::forceRender() — Method in class View

Force the View::render method to render at the time it is called

G

Checkup::getErrors() — Method in class Checkup
Checkup::getWarnings() — Method in class Checkup
Config::get() — Method in class Config

Get all values like array or get specific item by level (multidimensional) using path

Document::getNamespaces() — Method in class Document

Get namespace attributes from root element or specific element

Selector::get() — Method in class Selector

Returns a \DOMNodeList containing all nodes matching the given CSS selector

Negotiation::getLanguage() — Method in class Negotiation

Get the first language with with the greatest q-factor, if it does not exist then return the value of $alternative

Negotiation::getCharset() — Method in class Negotiation

Get the first charset with with the greatest q-factor, if it does not exist then return the value of $alternative

Negotiation::getEncoding() — Method in class Negotiation

Get the first encoding with with the greatest q-factor, if it does not exist then return the value of $alternative

Negotiation::getAccept() — Method in class Negotiation

Get the first "document type" with the greatest q-factor, if it does not exist then return the value of $alternative

Request::get() — Method in class Request

Get a value from $_GET, if $_GET is a array multidimensional, you can use dot like path: If $_GET['foo'] returns this array( 'baz' => 'bar' => 1); use Request::get('foo.bar.baz'); for return 1

Packages::getLibs() — Method in class Packages

Return array of libs

GroupClass in namespace Inphinit\Routing
Route::get() — Method in class Route

Get action controller from current route

Session::get() — Method in class Session

Get all values like array or get specific item by level (multidimensional) using path

H

HelperClass in namespace Inphinit
Negotiation::header() — Method in class Negotiation

Parse any header with q-factor value

Request::header() — Method in class Request

Get HTTP headers from current request

Response::header() — Method in class Response
Short
$ Router#httpRoutesProperty in class Router

Store normal routes

$ Router#httpParamRoutesProperty in class Router

Store param routes

Shell::hasArgs() — Method in class Shell

Check if using arguments

I

Form::input() — Method in class Form

Create a input or textarea

Helper::iterable() — Method in class Helper

Equivalent to is_iterable from PHP-7.1.0+

Request::is() — Method in class Request

Check if is a specific HTTP method, HTTPS, and xmlhttprequest (Depends on how an ajax call was made)

Maintenance::ignoreif() — Method in class Maintenance

Up the site only in certain conditions, eg. the site administrator of the IP.

Packages::inAutoload() — Method in class Packages

Load ./system/boot/namespaces.php classes

Shell::isCli() — Method in class Shell

Check if script is executed in CLI

Shell::input() — Method in class Shell

Get input data

J

Request::json() — Method in class Request

Get a value input handler

K

Dir::key() — Method in class Dir

Get current position in handle

Helper::ksort() — Method in class Helper

Check if array is associative, like [ 'bar' => foo', 'baz' => 'bar']

L

Config::load() — Method in class Config

Create a Negotiation instance

$ Document#levelsProperty in class Document

Used with Document::reporting method or in extended classes

Document::loadXML() — Method in class Document

Load XML from a string

Document::load() — Method in class Document

Load XML from a file

Document::loadHTML() — Method in class Document

Load HTML from a string

Document::loadHTMLFile() — Method in class Document

Load HTML from a file

File::lines() — Method in class File

Read lines from a file

Packages::logs() — Method in class Packages

Get log

M

Cache::match() — Method in class Cache

Check HTTP_IF_MODIFIED_SINCE and HTTP_IF_NONE_MATCH from server If true you can send 304 Not Modified

File::mime() — Method in class File

Get mimetype from file, return false if file is invalid

Status::message() — Method in class Status

Get message by HTTP code

MaintenanceClass in namespace Inphinit

N

Dir::next() — Method in class Dir

Move forward to next file

NegotiationClass in namespace Inphinit\Http
Uri::normalize() — Method in class Uri

Normalize URL, include canonicalized path

O

App::on() — Method in class App

Register an event

App::off() — Method in class App

Unregister 1 or all events

File::output() — Method in class File

Show file in output, if use ob_start is auto used ob_flush. You can set delay in microseconds for cycles

Redirect::only() — Method in class Redirect

Redirect and stop application execution

Resource::output() — Method in class Resource

Overwrite output

Shell::observer() — Method in class Shell

Add callback event to input

P

Debug::performance() — Method in class Debug

Get memory usage and you can also use it to calculate runtime.

File::permissions() — Method in class File

Get file/folder permissions in a format more readable.

File::portion() — Method in class File

Read excerpt from a file

Helper::parseVersion() — Method in class Helper

Parse version format

Request::path() — Method in class Request

Get current HTTP path or route path

Request::post() — Method in class Request

Get a value from $_POST, if $_POST is a array multidimensional, you can use dot like path: If $_POST['foo'] returns this array( 'baz' => 'bar' => 1); use Request::post('foo.bar.baz');

PackagesClass in namespace Inphinit
Packages::psr0() — Method in class Packages

Load autoload_namespaces.php classes, used by PSR-0 packages

Packages::psr4() — Method in class Packages

Load autoload_psr4.php classes, used by PSR-4 packages

Regex::parse() — Method in class Regex

Parse string like.: {:[a-z]+:}.domain.com or /user/{:[a-z]+:}/{:\d+:} to regex

Group::prefixNS() — Method in class Group

Define namespace prefix for group

Group::path() — Method in class Group

Define path for group

$ Router#prefixNSProperty in class Router

Define namespace prefix to Controllers

$ Router#prefixPathProperty in class Router

Define path prefix to routes

Treaty::parsePath() — Method in class Treaty

Overwrite path parser

Storage::path() — Method in class Storage

Get absolute path from storage location

Storage::put() — Method in class Storage

Create a file in a folder in storage or append data to existing file

Q

Document::query() — Method in class Document

Use query-selector like CSS, jQuery, querySelectorAll

Negotiation::qFactor() — Method in class Negotiation

Parse and sort a custom value with q-factor

Request::query() — Method in class Request

Get querystring, this method is useful for anyone who uses IIS.

R

Config::reload() — Method in class Config

Reload configuration from file

Debug::renderError() — Method in class Debug

Render a View to error

Debug::renderPerformance() — Method in class Debug

Render a View to show performance, memory and time to display page

Debug::renderDefined() — Method in class Debug

Render a View to show performance and show declared classes

Document::reporting() — Method in class Document

Set level error for exception, set LIBXML_ERR_NONE (or 0 - zero) for disable exceptions.

Dir::root() — Method in class Dir

Return items from root project folder (probably, will depend on the setting of the INPHINIT_ROOT constant)

Dir::rewind() — Method in class Dir

Resets the directory stream to the beginning of the directory

RedirectClass in namespace Inphinit\Http
RequestClass in namespace Inphinit\Http
Request::raw() — Method in class Request

Get a value input handler

ResponseClass in namespace Inphinit\Http
RegexClass in namespace Inphinit
RedirectorClass in namespace Inphinit\Routing
Redirector::route() — Method in class Redirector

Redirect to route based

ResourceClass in namespace Inphinit\Routing
Resource::route() — Method in class Resource

Define routes based on class methods

RouteClass in namespace Inphinit\Routing
RouterClass in namespace Inphinit\Routing
Treaty::route() — Method in class Treaty

Define routes based on class methods

Session::regenerate() — Method in class Session

Regenerate ID

Storage::resolve() — Method in class Storage

Convert path to storage path

Storage::remove() — Method in class Storage

Delete a file in storage

Storage::removeFolder() — Method in class Storage

Remove recursive folders in storage folder

View::render() — Method in class View

Register or render a View. If View is registered this method returns the index number from View

View::remove() — Method in class View

Remove a registered View by index

S

App::state() — Method in class App

Return application state

App::stop() — Method in class App

Stop application, send HTTP status

Cache::show() — Method in class Cache

Show cache content from current page (from route) in output

Config::save() — Method in class Config

Save configuration to file

Config::set() — Method in class Config

Set value by path in specific level (multidimensional)

Debug::source() — Method in class Debug

Get snippet from a file

Debug::searcherror() — Method in class Debug

Convert error message in a link, see system/configs/debug.php

Document::save() — Method in class Document

Save file to location

SelectorClass in namespace Inphinit\Dom
Dir::storage() — Method in class Dir

Return items from storage folder

Form::setup() — Method in class Form

Define default attributes for all elements

Helper::seq() — Method in class Helper

Check if array is sequential, like ['foo', 'bar']

Response::status() — Method in class Response

Get or set status code and return last status code. Note: if set status work, Event::on('changestatus') is trigged

StatusClass in namespace Inphinit\Http

Constant with the most common HTTP codes

Packages::save() — Method in class Packages

Save imported packages path to file in PHP format

Group::secure() — Method in class Group

Access only with HTTPS or only HTTP

Route::set() — Method in class Route

Register or remove a action from controller for a route

SessionClass in namespace Inphinit
ShellClass in namespace Inphinit
StorageClass in namespace Inphinit

T

App::trigger() — Method in class App

Trigger registered event

Document::toJson() — Method in class Document

Convert DOM to JSON string

Document::toArray() — Method in class Document

Convert DOM to Array

Helper::toAscii() — Method in class Helper

Convert string to ASCII

Redirect::to() — Method in class Redirect

Redirects to a valid path within the application

Group::then() — Method in class Group

Define callback for group, this callback is executed if the request meets the group settings

TreatyClass in namespace Inphinit\Routing
Storage::temp() — Method in class Storage

Create a tmp in storage/tmp folder

U

Debug::unregister() — Method in class Debug

Unregister debug events

Maintenance::up() — Method in class Maintenance

Up site

UriClass in namespace Inphinit

V

Debug::view() — Method in class Debug

Register a debug views

Dir::valid() — Method in class Dir

Check if pointer is valid

Packages::version() — Method in class Packages

Get package version from composer.lock file

$ Resource#validsProperty in class Resource

Define methods and routes

ViewClass in namespace Inphinit\Viewing

W

Cache::write() — Method in class Cache

Write data in cache file.

Storage::write() — Method in class Storage

Create a file in a folder or overwrite existing file

X

Form::xhtml() — Method in class Form

Define new forms for use xhtml (<input />) or html format (<input>)

Request::xml() — Method in class Request

Create a Document instance from HTTP request

_

Cache::__construct() — Method in class Cache

Create a cache instance by route path

Checkup::__construct() — Method in class Checkup

Register a callback or script for a route

Config::__construct() — Method in class Config

Return items from a config file in a object (iterator or with ->)

Config::__get() — Method in class Config

Magic method for get specific item by ->

Config::__set() — Method in class Config

Magic method for set value (this method don't save data)

Config::__isset() — Method in class Config

Magic method for check if value exists in top-level

Config::__unset() — Method in class Config

Magic method for unset variable with unset() function

Config::__destruct() — Method in class Config
Document::__construct() — Method in class Document

Create a Document instance

Document::__toString() — Method in class Document

Magic method, return a well-formed XML string

DomException::__construct() — Method in class DomException

Raise an exception

Exception::__construct() — Method in class Exception

Raise an exception

Dir::__construct() — Method in class Dir

Return items from a folder

Dir::__destruct() — Method in class Dir
Negotiation::__construct() — Method in class Negotiation

Create a Negotiation instance

Negotiation::__destruct() — Method in class Negotiation
Packages::__construct() — Method in class Packages

Create a Inphinit\Packages instance.

Packages::__destruct() — Method in class Packages
Session::__construct() — Method in class Session

Create cookie session and configure session

Session::__clone() — Method in class Session

Prevent clone session object

Session::__get() — Method in class Session

Magic method for get session variables (this method also returns variables that have not yet been committed)

Session::__set() — Method in class Session

Magic method for set session variables (this method don't commit data)

Session::__isset() — Method in class Session

Magic method for check if variable is setted (this method also returns variables that have not yet been committed)

Session::__unset() — Method in class Session

Magic method for unset variable with unset() function

Session::__destruct() — Method in class Session
Shell::__construct() — Method in class Shell

Create a Shell instance for use CLI interface

Shell::__destruct() — Method in class Shell