/**
* Rendered content created by the helper class
*/
- private $content = "";
+ private $content = '';
/**
* Array with groups
/**
* Previously opened group
*/
- private $previousGroupId = "";
+ private $previousGroupId = '';
/**
* Previously opened sub group
*/
- private $previousSubGroupId = "";
+ private $previousSubGroupId = '';
/**
* Total counter for groups and sub groups
* @return void
* @throws HelperNoPreviousOpenedGroupException If no previously opened group was found
*/
- public function closePreviousGroupByContent ($content = "") {
+ public function closePreviousGroupByContent ($content = '') {
// Check if any sub group was opened before
if ($this->ifSubGroupOpenedPreviously()) {
// Close it automatically
$this->groups[$groupId]['opened'] = false;
// Mark previous group as closed
- $this->setPreviousGroupId("");
+ $this->setPreviousGroupId('');
//* DEBUG: */ echo "CLOSE:groupId={$groupId}<br />\n";
}
* @return void
* @throws HelperNoPreviousOpenedSubGroupException If no previously opened sub group was found
*/
- public function closePreviousSubGroupByContent ($content = "") {
+ public function closePreviousSubGroupByContent ($content = '') {
// Check if any sub group was opened before
if ($this->ifSubGroupOpenedPreviously() === false) {
// Then throw an exception
$this->subGroups[$subGroupId]['opened'] = false;
// Mark previous sub group as closed
- $this->setPreviousSubGroupId("");
+ $this->setPreviousSubGroupId('');
//* DEBUG: */ echo "CLOSE:subGroupId={$subGroupId}<br />\n";
}
*/
public function renderContent () {
// Initialize content
- $content = "";
+ $content = '';
// Is header content there?
if (isset($this->groups['header'])) {