Documentation

Kohana.php

Table of Contents

Classes

Kohana
Provides Kohana-specific helper functions. This is where the magic happens!
Kohana_Exception
Creates a generic i18n exception.
Kohana_User_Exception
Creates a custom exception.
Kohana_404_Exception
Creates a Page Not Found exception.

Constants

E_DATABASE_ERROR  : mixed = 44
E_KOHANA  : mixed = 42
E_PAGE_NOT_FOUND  : mixed = 43
SPROUT_REQUEST_TAG  : mixed = Uuid::uuid4()
SPROUT_REQUEST_TIME  : mixed = microtime(TRUE)

Functions

arrayMapRecursive()  : mixed
Recursive version of array_map function I would imagine would be much slower than the original. Only use if necessary

Constants

E_DATABASE_ERROR

public mixed E_DATABASE_ERROR = 44

E_KOHANA

public mixed E_KOHANA = 42

E_PAGE_NOT_FOUND

public mixed E_PAGE_NOT_FOUND = 43

SPROUT_REQUEST_TAG

public mixed SPROUT_REQUEST_TAG = Uuid::uuid4()

SPROUT_REQUEST_TIME

public mixed SPROUT_REQUEST_TIME = microtime(TRUE)

Functions

arrayMapRecursive()

Recursive version of array_map function I would imagine would be much slower than the original. Only use if necessary

arrayMapRecursive(mixed $callback, array<string|int, mixed> $array) : mixed
Parameters
$callback : mixed

Callback function, can be string, array or in PHP 5.3, a function

$array : array<string|int, mixed>

The array to process

On this page

Search results