Changed way eventhandler works.
Added protected events property array.
Added events on load, before and after invoker run.
Added new response type dump() to send print_r() results to the browser
console.
Added missing comments to serveral response methods.
Updated comments

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Revert visibility change of $errors property back to public

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Fixed wrong errorcode when throwing error for missing parameter on url
compiling.
Added error handling for ajax requests. Errors will be shown in an
alert.
Added comment for final error handling.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Removed is_object() check for $params on contructor beachaus
Lib::fromObjectToArray() checks allready for object as first action.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed visibility of $params property from public to private.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
New method processMissingParameter()
Removed not needed fatal and redirect flags in processMissing() handler
method.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed visibility of insert() method from private to final protected so
childs can use it.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Fixed wrong visibility of $codes array

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed ajax response error to be sent to #web-error instead of alerting
it.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Reformat

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Added $codes array and new processWrongQueryType() error handler.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Merge branch 'dev' of https://github.com/tekkla/Framework.git into dev
Changed way to get error group code from $code parameter.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed error handling on ajax requests.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Removed not needed Lib parent

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed all public methods to be final to prevent overriding.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>