* @return void
*/
protected final function addContent ($newContent) {
- $this->content .= (string) trim($newContent) . chr(10);
+ $this->content .= (string) trim($newContent) . PHP_EOL;
}
/**
// Is header content there?
if (isset($this->groups['header'])) {
// Then add it
- $content .= $this->groups['header']['content'] . chr(10);
+ $content .= $this->groups['header']['content'] . PHP_EOL;
} // END - if
// Initiate content
// Is footer content there?
if (isset($this->groups['footer'])) {
// Then add it
- $content .= $this->groups['footer']['content'] . chr(10);
+ $content .= $this->groups['footer']['content'] . PHP_EOL;
} // END - if
// Return it