NextDom\Ajax\MessageAjax
Class MessageAjax
Synopsis
class MessageAjax
extends BaseAjax
{
- // members
- protected $NEEDED_RIGHTS = UserRight::USER;
- protected boolean $MUST_BE_CONNECTED = true;
- protected boolean $CHECK_AJAX_TOKEN = true;
- private array $iconsCache = ;
- // Inherited members from BaseAjax
- protected string $NEEDED_RIGHTS;
- protected boolean $MUST_BE_CONNECTED;
- protected boolean $CHECK_AJAX_TOKEN;
- protected AjaxHelper $ajax;
- // methods
- public void clearMessage()
- public void nbMessage()
- private void addIcon()
- public void all()
- public void removeMessage()
- // Inherited methods from BaseAjax
- public void __construct()
- public void process()
- protected void checkAccessOrFail()
- protected void checkSizeAndExtension()
Hierarchy
Extends
Members
private
- $iconsCache
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
private
- addIcon() — Add icon data
public
- all()
- clearMessage() — Remove all message
- nbMessage()
- removeMessage()
Inherited from NextDom\Ajax\BaseAjax
protected
- checkAccessOrFail() — Check access of the user. Fail on problem.
- checkSizeAndExtension()
public
- process() — Start the process