1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Preparations for WebP conversions. e107::title() added to eventually replace defining e_PAGETITLE.

This commit is contained in:
Cameron
2020-12-08 18:15:08 -08:00
parent afaac88003
commit 7229aa6c50
7 changed files with 95 additions and 54 deletions

View File

@@ -4454,12 +4454,17 @@ class eResponse
* @param string $title
* @return eResponse
*/
function addMetaTitle($title)
public function addMetaTitle($title, $reset=false)
{
if($reset)
{
$this->_e_PAGETITLE = array();
}
return $this->addMetaData('e_PAGETITLE', $title);
}
function getMetaTitle()
public function getMetaTitle()
{
return $this->getMetaData('e_PAGETITLE', $this->_meta_title_separator);
}