/limonade/abstract.php

Description

Abstract methods that might be redefined by user Do not include this file in your app: it only aims to provide documentation about those functions.

Functions
after (line 46)

An `after` output filter

Called after each request and can apply a transformation to the output (except for `render_file` outputs which are sent directly to the output buffer).

  • abstract: this function might be redefined by user
string after (string $output)
  • string $output
before (line 31)

Called before each request.

This is very useful to define a default layout or passing common variables to the templates.

  • abstract: this function might be redefined by user
void before ()
before_exit (line 103)

Called before stoppping and exiting application.

  • abstract: this function might be redefined by user
void before_exit ()
configure (line 18)

It will be called when app is launched (at the begining og the run function).

You can define options inside it, a connection to a database ...

  • abstract: this function might be redefined by user
void configure ()
not_found (line 63)

Not found error output

  • return: "not found" output string
  • abstract: this function might be redefined by user
string not_found (string $errno, string $errstr, [string $errfile = null], [string $errline = null])
  • string $errno
  • string $errstr
  • string $errfile
  • string $errline
route_missing (line 92)

Called when a route is not found.

  • abstract: this function might be redefined by user
void route_missing (string $request_method, string $request_uri)
  • string $request_method
  • string $request_uri
server_error (line 78)

Server error output

  • return: "server error" output string
  • abstract: this function might be redefined by user
string server_error (string $errno, string $errstr, [string $errfile = null], [string $errline = null])
  • string $errno
  • string $errstr
  • string $errfile
  • string $errline

Documentation generated on Sat, 17 Oct 2009 18:52:02 +0200 by phpDocumentor 1.4.2