예제 #1
0
<?php

/**
 * Copyright (c) 2013 Thomas Tanghus (thomas@tanghus.net)
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */
namespace OCA\Contacts;

use Sabre\VObject, OCP\AppFramework, OCA\Contacts\Controller\AddressBookController, OCA\Contacts\Controller\GroupController, OCA\Contacts\Controller\ContactController, OCA\Contacts\Controller\ContactPhotoController, OCA\Contacts\Controller\SettingsController, OCA\Contacts\Controller\ImportController;
/**
 * This class manages our app actions
 */
App::$l10n = \OC_L10N::get('contacts');
class App
{
    /**
     * @brief Categories of the user
     * @var OC_VCategories
     */
    public static $categories = null;
    /**
     * @brief language object for calendar app
     *
     * @var OC_L10N
     */
    public static $l10n;
    /**
     * An array holding the current users address books.
     * @var array
예제 #2
0
파일: app.php 프로젝트: gvde/contacts-8
 * @author Thomas Tanghus
 * @copyright 2013-2014 Thomas Tanghus (thomas@tanghus.net)
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */
namespace OCA\Contacts;

use Sabre\VObject, OCP\AppFramework, OCA\Contacts\Controller\AddressBookController, OCA\Contacts\Controller\BackendController, OCA\Contacts\Controller\GroupController, OCA\Contacts\Controller\ContactController, OCA\Contacts\Controller\ContactPhotoController, OCA\Contacts\Controller\SettingsController, OCA\Contacts\Controller\ImportController;
/**
 * This class manages our app actions
 *
 * TODO: Merge in Dispatcher
 */
App::$l10n = \OC::$server->getL10N('contacts');
class App
{
    /**
     * @brief Categories of the user
     * @var OC_VCategories
     */
    public static $categories = null;
    /**
     * @brief language object for calendar app
     *
     * @var \OCP\IL10N
     */
    public static $l10n;
    /**
     * An array holding the current users address books.