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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user