- $this->stacks[$stackerName] = array(
- 'max_size' => $this->getConfigInstance()->getConfigEntry('stacker_' . $stackerName . '_max_size'),
- 'entries' => array()
- );
+ $this->initGenericArrayKey('stacks', $stackerName, 'entries', $forceReInit);
+ }
+
+ /**
+ * Initializes all stackers
+ *
+ * @return void
+ */
+ public function initStackers (array $stacks) {
+ // "Walk" through all (more will be added as needed
+ foreach ($stacks as $stackerName) {
+ // Init this stack
+ $this->initStacker($stackerName);
+ } // END - foreach