Blame view
sources/apps/contacts/lib/controller.php
754 Bytes
|
d1bafeea1
|
1 2 3 |
<?php /** * @author Thomas Tanghus |
|
6d9380f96
|
4 5 6 |
* @author Thomas Tanghus * @copyright 2013-2014 Thomas Tanghus (thomas@tanghus.net) * |
|
d1bafeea1
|
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Contacts;
use OCP\AppFramework\IAppContainer,
OCP\AppFramework\Controller as BaseController,
OCP\IRequest,
OCA\Contacts\App;
/**
* Base Controller class for Contacts App
*/
class Controller extends BaseController {
/**
* @var Api
*/
protected $api;
/**
* @var IRequest
*/
protected $request;
/**
* @var App
*/
protected $app;
|
|
6d9380f96
|
38 39 |
public function __construct($appName, IRequest $request, App $app) {
parent::__construct($appName, $request);
|
|
d1bafeea1
|
40 41 42 43 |
$this->app = $app; } } |