NextDom\Ajax\DataStoreAjax
Class DataStoreAjax
Synopsis
class DataStoreAjax
extends BaseAjax
{
- // members
- protected $NEEDED_RIGHTS = UserRight::USER;
- 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;
- // 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
- all() — Get all variables from the dataStore
- remove() — Remove variable from the dataStore
- save() — Save variable in the dataStore
Inherited from NextDom\Ajax\BaseAjax
protected
- checkAccessOrFail() — Check access of the user. Fail on problem.
- checkSizeAndExtension()
public
- process() — Start the process