class resync

Attachment resync class

Properties

protected driver_interface $db

Methods

__construct(driver_interface $db)

Constructor for attachment resync class

set_type_constraints(string $type)

Set type constraints for attachment resync

resync(string $type, array $ids)

Resync specified type

Details

at line 43
__construct(driver_interface $db)

Constructor for attachment resync class

Parameters

driver_interface $db Database driver

at line 53
protected set_type_constraints(string $type)

Set type constraints for attachment resync

Parameters

string $type Type of resync; can be: message|post|topic

at line 88
resync(string $type, array $ids)

Resync specified type

Parameters

string $type Type of resync
array $ids IDs to resync