Bans extends AjaxAbstract
Use this class to add a basic function to your Jaxon request.
Check if user have a session.
Table of Contents
- showAffected() : mixed
- checkLoggedIn() : true|Response
- Return true or empty Jaxon\Response\Response.
- checkLoggedInRedirect() : true|Redirect
- Return true or redirect to home.php page.
Methods
showAffected()
public
showAffected(mixed $ip, mixed $id) : mixed
Parameters
- $ip : mixed
- $id : mixed
Return values
mixed —checkLoggedIn()
Return true or empty Jaxon\Response\Response.
protected
checkLoggedIn() : true|Response
Return values
true|Response —checkLoggedInRedirect()
Return true or redirect to home.php page.
protected
checkLoggedInRedirect() : true|Redirect