NextDom\Ajax\PlanAjax
Class PlanAjax
Synopsis
class PlanAjax
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;
- // methods
- public void save()
- public void execute()
- public void planHeader()
- public void create()
- public void copy()
- public void get()
- public void remove()
- public void removePlanHeader()
- public void allHeader()
- public void getPlanHeader()
- public void savePlanHeader()
- public void copyPlanHeader()
- public void removeImageHeader()
- private UploadedImage getUploadedImageData()
- private void checkAndMoveUploadImage()
- public void uploadImage()
- public void uploadImagePlan()
- // 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
private
- checkAndMoveUploadImage() — Check file path and move file
- getUploadedImageData() — Get data of uploaded file
public
- allHeader()
- copy()
- copyPlanHeader()
- create()
- execute()
- get()
- getPlanHeader()
- planHeader()
- remove()
- removeImageHeader()
- removePlanHeader()
- save()
- savePlanHeader()
- uploadImage() — Upload background picture on plan
- uploadImagePlan() — Upload image for static picture on plan
Inherited from NextDom\Ajax\BaseAjax
protected
- checkAccessOrFail() — Check access of the user. Fail on problem.
- checkSizeAndExtension()
public
- process() — Start the process