mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
e107 meta proxy method
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2011 e107 Inc (e107.org)
|
||||
* Copyright (C) 2008-2012 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
@@ -74,5 +74,21 @@ class eUrl
|
||||
{
|
||||
return $this->_front;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return eResponse
|
||||
*/
|
||||
public function response()
|
||||
{
|
||||
return $this->_front->getResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return eRequest
|
||||
*/
|
||||
public function request()
|
||||
{
|
||||
return $this->_front->getRequest();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1361,6 +1361,15 @@ class e107
|
||||
}
|
||||
return self::getObject('e_jshelper', null, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see eResponse::addMeta()
|
||||
* @return eResponse
|
||||
*/
|
||||
public static function meta($name = null, $content = null, $extended = array())
|
||||
{
|
||||
return e107::getUrl()->response()->addMeta($name, $content, $extended);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve admin dispatcher instance.
|
||||
|
Reference in New Issue
Block a user