메소드 |
설명 |
|
__construct ( Array $settings = [] ) |
Constructor |
|
__get ( $name ) |
accces to services |
|
__invoke ( $helper ) |
Invoke call |
|
assets ( $src, $version = false ) |
|
|
base ( $path ) |
|
|
baseUrl ( String $path ) : String |
Returns link based on the base url of the app |
|
bind ( String $path, Closure $callback, boolean $condition = true ) : void |
Bind request to route |
|
bindClass ( String $class, $alias = false ) : void |
Bind Class to routes |
|
bindNamespace ( String $namespace, $alias ) : void |
Bind namespace to routes |
|
block ( String $name, array $options = [] ) : String |
Get block content |
|
cache ( ) : Mixed |
Cache helper method |
|
decode ( [type] $data, [type] $pwd ) : [type] |
Decode RC4 encrypted text |
|
dispatch ( String $path ) : Mixed |
Dispatch route |
|
encode ( [type] $data, [type] $pwd, boolean $base64encoded = false ) : [type] |
RC4 encryption |
|
end ( String $name ) : Null |
End block |
|
escape ( String $string, String $charset = null ) : String |
Escape string. |
|
get ( String $path, Closure $callback, boolean $condition = true ) : void |
Bind GET request to route |
|
getClientIp ( ) : String |
Get client ip. |
|
getClientLang ( $default = "en" ) : String |
Get client language |
|
getSiteUrl ( $withpath = false ) : String |
Get site url |
|
hash ( $text, $algo = PASSWORD_BCRYPT ) : String |
Create Hash |
|
helper ( $helper ) |
|
|
instance ( String $name ) : Object |
Get App instance |
|
invoke ( String $class, String $action = "index", Array $params = [] ) : Mixed |
Invoke Class as controller |
|
isAbsolutePath ( $path ) |
|
|
isExit ( ) : boolean |
Is application stopped? |
|
loadModules ( $dirs, $autoload = true, $prefix = false ) |
|
|
module ( $name ) |
|
|
offsetExists ( $key ) |
|
|
offsetGet ( $key ) |
|
|
offsetSet ( $key, $value ) |
Array Access implementation |
|
offsetUnset ( $key ) |
|
|
on ( String $event, Closure $callback, integer $priority ) : void |
Bind an event to closure |
|
param ( String $index = null, Mixed $default = null, Array $source = null ) : Mixed |
Get request variables |
|
path ( ) : Mixed |
Path helper method |
|
pathToUrl ( $path ) : boolean | string |
|
|
post ( String $path, Closure $callback, boolean $condition = true ) : void |
Bind POST request to route |
|
registerModule ( $name, $dir ) |
|
|
render ( String $____template, Array $_____slots = [] ) : String |
Render view. |
|
req_is ( String $type ) : boolean |
Request helper function |
|
reroute ( String $path ) : void |
Redirect to path. |
|
retrieve ( String $key, Mixed $default = null ) : Mixed |
Get a value from the Lime registry |
|
route ( ) |
|
|
routeUrl ( String $path ) : String |
Returns link based on the route url of the app |
|
run ( String $route = null ) : void |
Run Application |
|
script ( String $src, $version = false ) : String |
Get script inc. markup |
|
service ( String $name, Closure $callable ) : Object |
Returns a closure that stores the result of the given closure |
|
set ( String $key, Mixed $value ) |
Put a value in the Lime registry |
|
start ( String $name ) : Null |
Start block |
|
stop ( $data = false ) |
stop application (exit) |
|
style ( String $href, $version = false ) : String |
Get style inc. markup |
|
trigger ( String $event, Array $params = [] ) : boolean |
Trigger event. |
|