/**
* An ??? template engine class for XML templates
*
- * @author Roland Haeder <webmaster@ship-simu.org>
+ * @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
* @license GNU GPL 3.0 or any newer version
- * @link http://www.ship-simu.org
+ * @link http://www.shipsimu.org
* @todo This template engine does not make use of setTemplateType()
*
* This program is free software: you can redistribute it and/or modify
parent::__construct(__CLASS__);
// Init sub nodes
- $this->subNodes = array(
+ $this->setSubNodes(array(
self::REQUEST_DATA_ACCEPTED_OBJECT_TYPES,
self::REQUEST_DATA_SESSION_ID,
- );
+ ));
}
/**
// Is this string empty?
if (empty($characters)) {
// Then skip it silently
- return false;
+ return;
} // END - if
// Assign data with matching variable here
- parent::assignVariable($this->getStackerInstance()->getNamed('node_request_node_list'), $characters);
+ parent::assignVariable($this->getStackInstance()->getNamed('node_request_node_list'), $characters);
}
/**
*/
protected function startRequestNodeList () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('node_request_node_list', 'node-request-node-list');
+ $this->getStackInstance()->pushNamed('node_request_node_list', 'node-request-node-list');
}
/**
*/
protected function startAcceptedObjectTypes () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('node_request_node_list', self::REQUEST_DATA_ACCEPTED_OBJECT_TYPES);
+ $this->getStackInstance()->pushNamed('node_request_node_list', self::REQUEST_DATA_ACCEPTED_OBJECT_TYPES);
}
/**
*/
protected function startSessionId () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('node_request_node_list', self::REQUEST_DATA_SESSION_ID);
+ $this->getStackInstance()->pushNamed('node_request_node_list', self::REQUEST_DATA_SESSION_ID);
}
/**
*/
protected function finishSessionId () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('node_request_node_list');
+ $this->getStackInstance()->popNamed('node_request_node_list');
}
/**
*/
protected function finishAcceptedObjectTypes () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('node_request_node_list');
+ $this->getStackInstance()->popNamed('node_request_node_list');
}
/**
*/
protected function finishRequestNodeList () {
// Pop the last entry
- $this->getStackerInstance()->popNamed('node_request_node_list');
+ $this->getStackInstance()->popNamed('node_request_node_list');
}
}