CleanEntityPermsRecords
Clear entries from the entity permissions table associated with an entity type that has been converted to use atrr tables.
Table of Contents
Constants
- CLEAN_LIMIT_OPTION_NAME = 'cleanentitypermsrecords_clean_limit'
- CONTINUE = true
- DONE = false
Methods
- doRun() : bool
- execute() : bool
- removeOptions() : void
- run() : string
- scheduleAgent() : void
Constants
CLEAN_LIMIT_OPTION_NAME
public
mixed
CLEAN_LIMIT_OPTION_NAME
= 'cleanentitypermsrecords_clean_limit'
CONTINUE
public
mixed
CONTINUE
= true
DONE
public
mixed
DONE
= false
Methods
doRun()
public
static doRun(int $entityTypeId) : bool
Parameters
- $entityTypeId : int
Return values
boolexecute()
public
execute(int $entityTypeId) : bool
Parameters
- $entityTypeId : int
Return values
boolremoveOptions()
public
removeOptions(int $entityTypeId) : void
Parameters
- $entityTypeId : int
run()
public
static run(int $entityTypeId) : string
Parameters
- $entityTypeId : int
Return values
stringscheduleAgent()
public
static scheduleAgent(int $entityTypeId) : void
Parameters
- $entityTypeId : int