[limonade] element index

Package indexes

All elements
a b c d e f h j l m n o p r s t u v x
a
top
app_file
app_file() in limonade.php
Returns application root file path
after
after() in abstract.php
An `after` output filter
abstract.php
abstract.php in abstract.php
b
top
before
before() in abstract.php
Called before each request.
before_exit
before_exit() in abstract.php
Called before stoppping and exiting application.
c
top
call_if_exists
call_if_exists() in limonade.php
Calls a function if exists
css
css() in limonade.php
Returns css output with proper http headers
configure
configure() in abstract.php
It will be called when app is launched (at the begining og the run function).
d
top
define_unless_exists
define_unless_exists() in limonade.php
Define a constant unless it already exists
dispatch
dispatch() in limonade.php
an alias of dispatch_get
dispatch_delete
dispatch_delete() in limonade.php
Add a DELETE route
dispatch_get
dispatch_get() in limonade.php
Add a GET route. Also automatically defines a HEAD route.
dispatch_post
dispatch_post() in limonade.php
Add a POST route
dispatch_put
dispatch_put() in limonade.php
Add a PUT route
e
top
env
env() in limonade.php
Returns limonade environment variables:
ENV_DEVELOPMENT
ENV_DEVELOPMENT in limonade.php
ENV_PRODUCTION
ENV_PRODUCTION in limonade.php
error
error() in limonade.php
Associate a function with error code(s) and return all associations
error_default_handler
error_default_handler() in limonade.php
Default error handler
error_http_status
error_http_status() in limonade.php
Returns http response status for a given error number
error_layout
error_layout() in limonade.php
Set and returns error output layout
error_notices_render
error_notices_render() in limonade.php
Returns notices output rendering and reset notices
error_type
error_type() in limonade.php
return error code name for a given code num, or return all errors names
E_DEPRECATED
E_DEPRECATED in limonade.php
E_LIM_DEPRECATED
E_LIM_DEPRECATED in limonade.php
E_LIM_HTTP
E_LIM_HTTP in limonade.php
E_LIM_PHP
E_LIM_PHP in limonade.php
E_USER_DEPRECATED
E_USER_DEPRECATED in limonade.php
f
top
file_extension
file_extension() in limonade.php
Returns file extension or false if none
file_is_binary
file_is_binary() in limonade.php
Checks if $filename is a binary file
file_is_text
file_is_text() in limonade.php
Checks if $filename is a text file
file_list_dir
file_list_dir() in limonade.php
Returns an array of files contained in a directory
file_mime_content_type
file_mime_content_type() in limonade.php
Detect MIME Content-type for a file
file_path
file_path() in limonade.php
Create a file path by concatenation of given arguments
file_read
file_read() in limonade.php
Return or output file content
file_read_chunked
file_read_chunked() in limonade.php
Read and output file content and return filesize in bytes or status after closing file.
flash
flash() in limonade.php
Set and returns flash messages that will be available in the next action via the flash_now() function or the view variable
  1. $flash
.
flash_now
flash_now() in limonade.php
Set and returns flash messages available for the current action, included those defined in the previous action with flash() Those messages will also be passed to the views and made available in the
  1. $flash
variable.
h
top
h
h() in limonade.php
halt
halt() in limonade.php
Raise an error, passing a given error number and an optional message, then exit.
html
html() in limonade.php
Returns html output with proper http headers
HTTP_ACCEPTED
HTTP_ACCEPTED in limonade.php
HTTP_BAD_GATEWAY
HTTP_BAD_GATEWAY in limonade.php
HTTP_BAD_REQUEST
HTTP_BAD_REQUEST in limonade.php
HTTP_CONFLICT
HTTP_CONFLICT in limonade.php
HTTP_CONTINUE
HTTP_CONTINUE in limonade.php
HTTP_CREATED
HTTP_CREATED in limonade.php
HTTP_EXPECTATION_FAILED
HTTP_EXPECTATION_FAILED in limonade.php
HTTP_FAILED_DEPENDENCY
HTTP_FAILED_DEPENDENCY in limonade.php
HTTP_FORBIDDEN
HTTP_FORBIDDEN in limonade.php
HTTP_GATEWAY_TIME_OUT
HTTP_GATEWAY_TIME_OUT in limonade.php
HTTP_GONE
HTTP_GONE in limonade.php
HTTP_INSUFFICIENT_STORAGE
HTTP_INTERNAL_SERVER_ERROR
HTTP_LENGTH_REQUIRED
HTTP_LENGTH_REQUIRED in limonade.php
HTTP_LOCKED
HTTP_LOCKED in limonade.php
HTTP_METHOD_NOT_ALLOWED
HTTP_METHOD_NOT_ALLOWED in limonade.php
HTTP_MOVED_PERMANENTLY
HTTP_MOVED_PERMANENTLY in limonade.php
HTTP_MOVED_TEMPORARILY
HTTP_MOVED_TEMPORARILY in limonade.php
HTTP_MULTIPLE_CHOICES
HTTP_MULTIPLE_CHOICES in limonade.php
HTTP_MULTI_STATUS
HTTP_MULTI_STATUS in limonade.php
HTTP_NON_AUTHORITATIVE
HTTP_NON_AUTHORITATIVE in limonade.php
HTTP_NOT_ACCEPTABLE
HTTP_NOT_ACCEPTABLE in limonade.php
HTTP_NOT_EXTENDED
HTTP_NOT_EXTENDED in limonade.php
HTTP_NOT_FOUND
HTTP_NOT_FOUND in limonade.php
HTTP_NOT_IMPLEMENTED
HTTP_NOT_IMPLEMENTED in limonade.php
HTTP_NOT_MODIFIED
HTTP_NOT_MODIFIED in limonade.php
HTTP_NO_CONTENT
HTTP_NO_CONTENT in limonade.php
HTTP_OK
HTTP_OK in limonade.php
HTTP_PARTIAL_CONTENT
HTTP_PARTIAL_CONTENT in limonade.php
HTTP_PAYMENT_REQUIRED
HTTP_PAYMENT_REQUIRED in limonade.php
HTTP_PRECONDITION_FAILED
HTTP_PRECONDITION_FAILED in limonade.php
HTTP_PROCESSING
HTTP_PROCESSING in limonade.php
HTTP_PROXY_AUTHENTICATION_REQUIRED
HTTP_RANGE_NOT_SATISFIABLE
HTTP_REQUEST_ENTITY_TOO_LARGE
HTTP_REQUEST_TIME_OUT
HTTP_REQUEST_TIME_OUT in limonade.php
HTTP_REQUEST_URI_TOO_LARGE
HTTP_RESET_CONTENT
HTTP_RESET_CONTENT in limonade.php
http_response_status
http_response_status() in limonade.php
Returns HTTP response status for a given code.
http_response_status_code
Returns an HTTP response status string for a given code
http_response_status_is_valid
Checks if an HTTP response code is valid
HTTP_SEE_OTHER
HTTP_SEE_OTHER in limonade.php
HTTP_SERVICE_UNAVAILABLE
HTTP_SERVICE_UNAVAILABLE in limonade.php
HTTP_SWITCHING_PROTOCOLS
HTTP_SWITCHING_PROTOCOLS in limonade.php
HTTP_TEMPORARY_REDIRECT
HTTP_TEMPORARY_REDIRECT in limonade.php
HTTP_UNAUTHORIZED
HTTP_UNAUTHORIZED in limonade.php
HTTP_UNPROCESSABLE_ENTITY
HTTP_UNSUPPORTED_MEDIA_TYPE
HTTP_UPGRADE_REQUIRED
HTTP_UPGRADE_REQUIRED in limonade.php
HTTP_USE_PROXY
HTTP_USE_PROXY in limonade.php
HTTP_VARIANT_ALSO_VARIES
HTTP_VARIANT_ALSO_VARIES in limonade.php
HTTP_VERSION_NOT_SUPPORTED
j
top
json
json() in limonade.php
Returns json representation of data with proper http headers
l
top
layout
layout() in limonade.php
Set and return current layout
LIMONADE
LIMONADE in limonade.php
Limonade version
limonade.php
limonade.php in limonade.php
LIM_SESSION_FLASH_KEY
LIM_SESSION_FLASH_KEY in limonade.php
LIM_SESSION_NAME
LIM_SESSION_NAME in limonade.php
LIM_START_MICROTIME
LIM_START_MICROTIME in limonade.php
m
top
mime_type
mime_type() in limonade.php
Returns mime type for a given extension or if no extension is provided, all mime types in an associative array, with extensions as keys.
n
top
NOT_FOUND
NOT_FOUND in limonade.php
not_found
not_found() in abstract.php
Not found error output
o
top
option
option() in limonade.php
Set and returns options values
p
top
params
params() in limonade.php
Set and returns params
r
top
redirect
redirect() in limonade.php
Http redirection
redirect_to
redirect_to() in limonade.php
Http redirection
render
render() in limonade.php
Returns a string to output
render_file
render_file() in limonade.php
undocumented function
request_is_delete
request_is_delete() in limonade.php
Checks if request method is DELETE
request_is_get
request_is_get() in limonade.php
Checks if request method is GET
request_is_head
request_is_head() in limonade.php
Checks if request method is HEAD
request_is_post
request_is_post() in limonade.php
Checks if request method is POST
request_is_put
request_is_put() in limonade.php
Checks if request method is PUT
request_method
request_method() in limonade.php
Returns current request method for a given environment or current one
request_methods
request_methods() in limonade.php
Returns allowed request methods
request_method_is_allowed
Checks if a request method or current one is allowed
request_uri
request_uri() in limonade.php
Returns current request uri (the path that will be compared with routes)
require_once_dir
require_once_dir() in limonade.php
Load php files with require_once in a given dir
run
run() in limonade.php
Running application
route_missing
route_missing() in abstract.php
Called when a route is not found.
s
top
SERVER_ERROR
SERVER_ERROR in limonade.php
set
set() in limonade.php
Set and returns template variables
set_or_default
set_or_default() in limonade.php
Sets a template variable with a value or a default value if value is empty
status
status() in limonade.php
Output proper HTTP header for a given HTTP code
server_error
server_error() in abstract.php
Server error output
t
top
txt
txt() in limonade.php
Returns txt output with proper http headers
u
top
url_for
url_for() in limonade.php
Returns an url composed of params joined with /
v
top
v
v() in limonade.php
An alias of value_or_default()
value_or_default
value_or_default() in limonade.php
Return a default value if provided value is empty
x
top
X-LIGHTTPD-SEND-FILE
X-LIGHTTPD-SEND-FILE in limonade.php
X-SENDFILE
X-SENDFILE in limonade.php
xml
xml() in limonade.php
Returns xml output with proper http headers
a b c d e f h j l m n o p r s t u v x