1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 05:07:27 +02:00

e107 meta proxy method

This commit is contained in:
secretr
2012-05-11 09:54:12 +00:00
parent 498db4ec61
commit c8a7e242e9
2 changed files with 26 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
/* /*
* e107 website system * 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 * Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
* *
@@ -74,5 +74,21 @@ class eUrl
{ {
return $this->_front; return $this->_front;
} }
/**
* @return eResponse
*/
public function response()
{
return $this->_front->getResponse();
}
/**
* @return eRequest
*/
public function request()
{
return $this->_front->getRequest();
}
} }

View File

@@ -1361,6 +1361,15 @@ class e107
} }
return self::getObject('e_jshelper', null, true); 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. * Retrieve admin dispatcher instance.