final class ForeignKey (View source)

Methods

static bool
isSupported(string $engine)

Verifies if this table's engine supports foreign keys

static bool
isCheckEnabled()

Is Foreign key check enabled?

static bool
handleDisableCheckInit()

Handle foreign key check request

static void
handleDisableCheckCleanup(bool $defaultCheckValue)

Cleanup changes done for foreign key check

Details

static bool isSupported(string $engine)

Verifies if this table's engine supports foreign keys

Parameters

string $engine engine

Return Value

bool

static bool isCheckEnabled()

Is Foreign key check enabled?

Return Value

bool

static bool handleDisableCheckInit()

Handle foreign key check request

Return Value

bool

static void handleDisableCheckCleanup(bool $defaultCheckValue)

Cleanup changes done for foreign key check

Parameters

bool $defaultCheckValue

original value for 'FOREIGN_KEY_CHECKS'

Return Value

void