The superclass of all Akeeba Kickstart parts. The "parts" are intelligent stateful
classes which perform a single procedure and have preparation, running and finalization phases. The transition between phases is handled automatically by this superclass' tick() final public method, which should be the ONLY public API exposed to the rest of the Akeeba Engine.
Located in /administrator/components/com_joomlaupdate/restore.php (line 1656)
AKAbstractObject | --AKAbstractPart
Class | Description |
---|---|
![]() |
The base class of unarchiver classes |
The name of the engine part (a.k.a. Domain), used in return table generation.
The step this engine part is in. Used verbatim in return table and should be set by the code in the _run() method.
A more detailed description of the step this engine part is in. Used verbatim in return table and should be set by the code in the _run() method.
Indicates whether this part has finished its run cycle
Indicates whether this part has finished its finalization cycle
Indicates whether this part has finished its initialisation cycle
Indicates whether this part has more work to do (it's in running state)
Any configuration variables, in the form of an array.
Inherited from AKAbstractObject
AKAbstractObject::$_errors_queue_size
AKAbstractObject::$_warnings_queue_size
Attaches an observer object
Dettaches an observer object
Notifies observers each time something interesting happened to the part
Sets the BREAKFLAG, which instructs this engine part that the current step must break immediately, in fear of timing out.
Sets the engine part's internal state, in an easy to use manner
Sends any kind of setup information to the engine part. Using this,
we avoid passing parameters to the constructor of the class. These parameters should be passed as an indexed array and should be taken into account during the preparation process only. This function will set the error flag if it's called after the engine part is prepared.
The public interface to an engine part. This method takes care for calling the correct method in order to perform the initialisation - run - finalisation cycle of operation and return a proper reponse array.
Runs the finalisation process for this part. Should set _isFinished to true.
Constructs a Response Array based on the engine part's state.
Runs the preparation for this part. Should set _isPrepared
to true
Runs the main functionality loop for this part. Upon calling, should set the _isRunning to true. When it finished, should set the _hasRan to true. If an error is encountered, setError should be used.
Inherited From AKAbstractObject
AKAbstractObject::__construct()
AKAbstractObject::getError()
AKAbstractObject::getErrors()
AKAbstractObject::getWarning()
AKAbstractObject::getWarnings()
AKAbstractObject::propagateFromObject()
AKAbstractObject::propagateToObject()
AKAbstractObject::resetErrors()
AKAbstractObject::resetWarnings()
AKAbstractObject::setError()
AKAbstractObject::setErrorsQueueSize()
AKAbstractObject::setWarning()
AKAbstractObject::setWarningsQueueSize()
Documentation generated on Tue, 19 Nov 2013 15:12:15 +0100 by phpDocumentor 1.4.3