Sunnysideup\CleanupTables\CleanTable
Synopsis
class CleanTable
extends BuildTask
{
- // members
- private static string $post_fix = '_ARCHIVE';
- private static integer $days_ago = 30;
- private static array $tables = ;
- protected $_schema = NULL;
- // methods
- public void run()
- protected void setTable()
- protected void getTable()
- protected void getArchiveTable()
- protected void copyTable()
- protected void getCutOffTimestamp()
- protected void moveRecords()
- protected void tableExists()
- protected void getSchema()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $days_ago
- $post_fix
- $tables
protected
- $_schema