NextDom\Ajax\CacheAjax
Class CacheAjax
Synopsis
class CacheAjax
extends BaseAjax
{
- // members
- protected $NEEDED_RIGHTS = UserRight::ADMIN;
- protected boolean $MUST_BE_CONNECTED = true;
- protected boolean $CHECK_AJAX_TOKEN = true;
- // Inherited members from BaseAjax
- protected string $NEEDED_RIGHTS;
- protected boolean $MUST_BE_CONNECTED;
- protected boolean $CHECK_AJAX_TOKEN;
- protected AjaxHelper $ajax;
- // methods
- public void flush()
- public void flushWidget()
- public void clean()
- public void stats()
- // Inherited methods from BaseAjax
- public void __construct()
- public void process()
- protected void checkAccessOrFail()
- protected void checkSizeAndExtension()
Hierarchy
Extends
Members
protected
- $CHECK_AJAX_TOKEN
- $CHECK_AJAX_TOKEN — string
- $MUST_BE_CONNECTED
- $MUST_BE_CONNECTED — string
- $NEEDED_RIGHTS
- $NEEDED_RIGHTS — string
- $ajax — NextDom\Helpers\AjaxHelper
Methods
public
- clean() — Clean the cache
- flush() — Flush the cache
- flushWidget() — Flush the cache
- stats() — Get cache statistics
Inherited from NextDom\Ajax\BaseAjax
protected
- checkAccessOrFail() — Check access of the user. Fail on problem.
- checkSizeAndExtension()
public
- process() — Start the process