Example #1
0
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
 *
 * You should have received a copy of the GNU Affero General Public
 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
namespace OCA\CalendarPlus;

use OCA\CalendarPlus\Calendar as CalendarCalendar;
use OCA\CalendarPlus\Share\Backend\Event as ShareEvent;
App::$appname = 'calendarplus';
App::$l10n = \OC::$server->getL10N('calendarplus');
App::$tz = App::getTimezone();
class App
{
    const CALENDAR = 'calendar';
    const EVENT = 'event';
    const SHARECALENDAR = 'calpl';
    const SHAREEVENT = 'calplevent';
    const SHARECALENDARPREFIX = 'calendar-';
    const SHAREEVENTPREFIX = 'event-';
    const SHARETODO = 'calpltodo';
    const SHARETODOPREFIX = 'todo-';
    const CldObjectTable = '*PREFIX*clndrplus_objects';
    const CldCalendarTable = '*PREFIX*clndrplus_calendars';
    const CldRepeatTable = '*PREFIX*clndrplus_repeat';
    /**