]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/helper/work_units/class_BaseWorkUnitHelper.php
Made two (generic/'base') classes abstract because calls are done from the generic...
[hub.git] / application / hub / main / helper / work_units / class_BaseWorkUnitHelper.php
index 22811cb9d3aa5ac19947c7860c80fabaef646f43..e41e4e49ad9e6c2444093dbd2d979a8fb0ef6c01 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class BaseWorkUnitHelper extends BaseFrameworkSystem {
+abstract class BaseWorkUnitHelper extends BaseFrameworkSystem {
        /**
         * Protected constructor
         *
@@ -31,7 +31,17 @@ class BaseWorkUnitHelper extends BaseFrameworkSystem {
        protected function __construct ($className) {
                // Call parent constructor
                parent::__construct($className);
+
+               // All WU helpers needs to be initialized
+               $this->initializeUnitHelper();
        }
+
+       /**
+        * Initializes this WU helper
+        *
+        * @return      void
+        */
+       abstract protected function initializeUnitHelper ();
 }
 
 // [EOF]