Signed-off-by: Roland Häder <roland@mxchange.org>
/**
* Instance of the stacker
*/
/**
* Instance of the stacker
*/
- private $stackerInstance = NULL;
+ private $stackInstance = NULL;
/**
* A Compressor instance
/**
* A Compressor instance
/**
* Setter for stacker instance
*
/**
* Setter for stacker instance
*
- * @param $stackerInstance An instance of an stacker
+ * @param $stackInstance An instance of an stacker
- public final function setStackerInstance (Stackable $stackerInstance) {
- $this->stackerInstance = $stackerInstance;
+ public final function setStackInstance (Stackable $stackInstance) {
+ $this->stackInstance = $stackInstance;
}
/**
* Getter for stacker instance
*
}
/**
* Getter for stacker instance
*
- * @return $stackerInstance An instance of an stacker
+ * @return $stackInstance An instance of an stacker
- public final function getStackerInstance () {
- return $this->stackerInstance;
+ public final function getStackInstance () {
+ return $this->stackInstance;
* Creates an instance of the class Stacker and prepares it for usage
*
* @param $appInstance A manageable application
* Creates an instance of the class Stacker and prepares it for usage
*
* @param $appInstance A manageable application
- * @return $stackerInstance An instance of ???Stacker
+ * @return $stackInstance An instance of ???Stacker
*/
public final static function create???Stacker (ManageableApplication $appInstance) {
// Get a new instance
*/
public final static function create???Stacker (ManageableApplication $appInstance) {
// Get a new instance
- $stackerInstance = new ???Stacker();
+ $stackInstance = new ???Stacker();
- $stackerInstance->initStack('generic');
+ $stackInstance->initStack('generic');
// Return the prepared instance
// Return the prepared instance
- return $stackerInstance;
/**
* Creates an instance of the class Stacker and prepares it for usage
*
/**
* Creates an instance of the class Stacker and prepares it for usage
*
- * @return $stackerInstance An instance of FiFoStacker
+ * @return $stackInstance An instance of FiFoStacker
*/
public static final function createFiFoStacker () {
// Get a new instance
*/
public static final function createFiFoStacker () {
// Get a new instance
- $stackerInstance = new FiFoStacker();
+ $stackInstance = new FiFoStacker();
- $stackerInstance->initStack('generic');
+ $stackInstance->initStack('generic');
// Return the prepared instance
// Return the prepared instance
- return $stackerInstance;
/**
* Creates an instance of the class Stacker and prepares it for usage
*
/**
* Creates an instance of the class Stacker and prepares it for usage
*
- * @return $stackerInstance An instance of FiLoStacker
+ * @return $stackInstance An instance of FiLoStacker
*/
public static final function createFiLoStacker () {
// Get a new instance
*/
public static final function createFiLoStacker () {
// Get a new instance
- $stackerInstance = new FiLoStacker();
+ $stackInstance = new FiLoStacker();
// Init the generic stacker
// Init the generic stacker
- $stackerInstance->initStack('generic');
+ $stackInstance->initStack('generic');
// Return the prepared instance
// Return the prepared instance
- return $stackerInstance;
$templateInstance->setMenuInstance($menuInstance);
// Init a variable stacker
$templateInstance->setMenuInstance($menuInstance);
// Init a variable stacker
- $stackerInstance = ObjectFactory::createObjectByConfiguredName('menu_stacker_class');
+ $stackInstance = ObjectFactory::createObjectByConfiguredName('menu_stacker_class');
- $templateInstance->setStackerInstance($stackerInstance);
+ $templateInstance->setStackInstance($stackInstance);
// Return the prepared instance
return $templateInstance;
// Return the prepared instance
return $templateInstance;
// Assign the found characters to variable and use the last entry from
// stack as the name
// Assign the found characters to variable and use the last entry from
// stack as the name
- parent::assignVariable($this->getStackerInstance()->getNamed('current_node'), $characters);
+ parent::assignVariable($this->getStackInstance()->getNamed('current_node'), $characters);
$this->handleTemplateDependency('menu', $templateDependency);
// Push the node name on the stacker
$this->handleTemplateDependency('menu', $templateDependency);
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'menu');
+ $this->getStackInstance()->pushNamed('current_node', 'menu');
*/
private function startEntryList () {
// Push the node name on the stacker
*/
private function startEntryList () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'entry-list');
+ $this->getStackInstance()->pushNamed('current_node', 'entry-list');
*/
private function startBlockHeader () {
// Push the node name on the stacker
*/
private function startBlockHeader () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'block-header');
+ $this->getStackInstance()->pushNamed('current_node', 'block-header');
*/
private function startBlockFooter () {
// Push the node name on the stacker
*/
private function startBlockFooter () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'block-footer');
+ $this->getStackInstance()->pushNamed('current_node', 'block-footer');
*/
private function startBlockList () {
// Push the node name on the stacker
*/
private function startBlockList () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'block-list');
+ $this->getStackInstance()->pushNamed('current_node', 'block-list');
*/
private function startBlock () {
// Push the node name on the stacker
*/
private function startBlock () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'block');
+ $this->getStackInstance()->pushNamed('current_node', 'block');
*/
private function startTitle () {
// Push the node name on the stacker
*/
private function startTitle () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'title');
+ $this->getStackInstance()->pushNamed('current_node', 'title');
*/
private function startTitleId () {
// Push the node name on the stacker
*/
private function startTitleId () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'title-id');
+ $this->getStackInstance()->pushNamed('current_node', 'title-id');
*/
private function startTitleClass () {
// Push the node name on the stacker
*/
private function startTitleClass () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'title-class');
+ $this->getStackInstance()->pushNamed('current_node', 'title-class');
*/
private function startTitleText () {
// Push the node name on the stacker
*/
private function startTitleText () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'title-text');
+ $this->getStackInstance()->pushNamed('current_node', 'title-text');
*/
private function startEntry () {
// Push the node name on the stacker
*/
private function startEntry () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'entry');
+ $this->getStackInstance()->pushNamed('current_node', 'entry');
*/
private function startEntryId () {
// Push the node name on the stacker
*/
private function startEntryId () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'entry-id');
+ $this->getStackInstance()->pushNamed('current_node', 'entry-id');
*/
private function startAnchor () {
// Push the node name on the stacker
*/
private function startAnchor () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'anchor');
+ $this->getStackInstance()->pushNamed('current_node', 'anchor');
*/
private function startAnchorId () {
// Push the node name on the stacker
*/
private function startAnchorId () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'anchor-id');
+ $this->getStackInstance()->pushNamed('current_node', 'anchor-id');
*/
private function startAnchorText () {
// Push the node name on the stacker
*/
private function startAnchorText () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'anchor-text');
+ $this->getStackInstance()->pushNamed('current_node', 'anchor-text');
*/
private function startAnchorTitle () {
// Push the node name on the stacker
*/
private function startAnchorTitle () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'anchor-title');
+ $this->getStackInstance()->pushNamed('current_node', 'anchor-title');
*/
private function startAnchorHref () {
// Push the node name on the stacker
*/
private function startAnchorHref () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'anchor-href');
+ $this->getStackInstance()->pushNamed('current_node', 'anchor-href');
*/
private function startFooterId () {
// Push the node name on the stacker
*/
private function startFooterId () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'footer-id');
+ $this->getStackInstance()->pushNamed('current_node', 'footer-id');
*/
private function startFooterClass () {
// Push the node name on the stacker
*/
private function startFooterClass () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'footer-class');
+ $this->getStackInstance()->pushNamed('current_node', 'footer-class');
*/
private function startFooterText () {
// Push the node name on the stacker
*/
private function startFooterText () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('current_node', 'footer-text');
+ $this->getStackInstance()->pushNamed('current_node', 'footer-text');
*/
private function finishTitle () {
// Pop the last entry
*/
private function finishTitle () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishTitleId () {
// Pop the last entry
*/
private function finishTitleId () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishTitleClass () {
// Pop the last entry
*/
private function finishTitleClass () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishTitleText () {
// Pop the last entry
*/
private function finishTitleText () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishFooterText () {
// Pop the last entry
*/
private function finishFooterText () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishFooterClass () {
// Pop the last entry
*/
private function finishFooterClass () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishFooterId () {
// Pop the last entry
*/
private function finishFooterId () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishAnchorHref () {
// Pop the last entry
*/
private function finishAnchorHref () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishAnchorTitle () {
// Pop the last entry
*/
private function finishAnchorTitle () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishAnchorText () {
// Pop the last entry
*/
private function finishAnchorText () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishAnchorId () {
// Pop the last entry
*/
private function finishAnchorId () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishAnchor () {
// Pop the last entry
*/
private function finishAnchor () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishEntryId () {
// Pop the last entry
*/
private function finishEntryId () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishEntry () {
// Pop the last entry
*/
private function finishEntry () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishBlock () {
// Pop the last entry
*/
private function finishBlock () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishBlockList () {
// Pop the last entry
*/
private function finishBlockList () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishEntryList () {
// Pop the last entry
*/
private function finishEntryList () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishBlockHeader () {
// Pop the last entry
*/
private function finishBlockHeader () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishBlockFooter () {
// Pop the last entry
*/
private function finishBlockFooter () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');
*/
private function finishMenu () {
// Pop the last entry
*/
private function finishMenu () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('current_node');
+ $this->getStackInstance()->popNamed('current_node');