App\PersonalDataRequest
Inherited from cmsApplication_List


Protected Attributes
protected | $data_directories | = ['archives' => '/data/private/gdpr'] |
Protected Methods
protected | onAfterSaveItem(array $datavalues, array $original_datavalues, array $previous_item, array $retval) Do something after save item
|
protected | sendEmail(string $email, string $template_name, string $email_vars) $SystemMail
|
protected array | validateEmailAndRequestType(string $email, int $request_type) Returns the error list of request validation
|
protected array | getRequestByGUIDAndAuthCode(string $guid, int $auth_code) Returns a record by GUID and auth code $SystemDB
|
protected array | getConfirmedDataRequestOnlyByGUID(string $guid) Returns an array of data request if the request type = 1 (data request), not delete/removal $SystemDB
|
protected | confirmRequest(int $id) Confirm user request
|
Public Methods
public | __construct() Constructor $SystemDB
|
public boolean | viewMainPage(int $pg=1) View Main Page
|
public | getMainPageMetaOptionKeys() |
public bool|array String array | getValidationErrorListBeforeSaveItem(array $datavalues) Validates save item. If there's an error, it will return an array with one or more error string, otherwise it will return a boolean true $CurrentUser
|
public array | onModifyDataBeforeSaveItem(array $datavalues) Before save item
|
public | loadDefaultStaticAssetFiles() Load default JS and CSS required for frontend $HTMLHeader
|
public | getActivityReportByEmail($email, $request_type, $reason) |
public | getActivityReportByUserID($user_id, $request_type, $reason) |
public array | ajxp_Request() AJAX POST handler for action: Request
|
public array | ajxp_ConfirmRequest() AJAX POST handler for action: Request
|
public boolean | viewConfirmPage($command) View Confirm Page
|
public | downloadArchive($command) |
public boolean | Run(array $command) Run Command
|