ZMObject
└─ZMInstallationPatcher
public class ZMInstallationPatcher
extends ZMObject
| Field Summary | |
|---|---|
| mixed | |
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | Create new instance. |
| ZMInstallationPatch | getPatchForId(string id) Get the patch for the given id. |
| array | getPatches(string groupId) Get all patches. |
| boolean | isPatchesOpen(string groupId) Returns true if any patches left to run. |
| boolean | patch(boolean force) Execute all open patches. |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public mixed $patches_ = false
public void __construct()
Create new instance.
public ZMInstallationPatch getPatchForId(string id)
Get the patch for the given id.
null.public array getPatches(string groupId)
Get all patches.
ZMInstallationPatch instances.public boolean isPatchesOpen(string groupId)
Returns true if any patches left to run.
true if there are any patches left that could be run.public boolean patch(boolean force)
Execute all open patches.
true it will force patching even if it is disabled as per settings.true if all patching was successful, false if not.
Provides support for all file patching of zen-cart files ZenMagick might need.