moving response classes over to OCP

This commit is contained in:
Thomas Müller
2013-08-21 01:00:26 +02:00
parent e39083c36f
commit 911bd3c16f
12 changed files with 105 additions and 71 deletions

View File

@@ -24,9 +24,9 @@
namespace OC\AppFramework\Controller;
use OC\AppFramework\Http\TemplateResponse;
use OC\AppFramework\Http\Request;
use OC\AppFramework\Core\API;
use OCP\AppFramework\Http\TemplateResponse;
/**
@@ -133,7 +133,7 @@ abstract class Controller {
* @param string $renderAs user renders a full page, blank only your template
* admin an entry in the admin settings
* @param array $headers set additional headers in name/value pairs
* @return \OC\AppFramework\Http\TemplateResponse containing the page
* @return \OCP\AppFramework\Http\TemplateResponse containing the page
*/
public function render($templateName, array $params=array(),
$renderAs='user', array $headers=array()){