ZenMagick 0.9.10


zenmagick.store.admin.installation.patches\ZMSQLPatch
installation\patches\ZMSQLPatch.php at line 33

Class ZMSQLPatch

ZMObject
└─ZMInstallationPatch
└─ZMSQLPatch

public class ZMSQLPatch
extends ZMInstallationPatch

Generic SQL patch.

Author:
DerManoMann

Fields inherited from zenmagick.store.admin.installation\ZMInstallationPatch
id_, messages_
Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct(string id)

Create new patch.

string

getGroupId()

Get the patch group id.

string

getPreconditionsMessage()

Get the precondition message.

Methods inherited from zenmagick.store.admin.installation\ZMInstallationPatch
__construct, canUndo, dependsOn, getGroupId, getId, getMessages, getPreconditionsMessage, isOpen, isReady, patch, undo
Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

installation\patches\ZMSQLPatch.php at line 40

__construct

public void __construct(string id)

Create new patch.

Parameters:
id - Id of the patch.

installation\patches\ZMSQLPatch.php at line 57

getGroupId

public string getGroupId()

Get the patch group id.

Returns:
The patch group id.

installation\patches\ZMSQLPatch.php at line 68

getPreconditionsMessage

public string getPreconditionsMessage()

Get the precondition message.

This will return an empty string when isReady() returns true.

Returns:
The preconditions message or an empty string.

ZenMagick 0.9.10