1<?php 2 3################################################################# 4# Copyright notice 5# 6# (c) 2013 Jérôme Schneider <mail@jeromeschneider.fr> 7# All rights reserved 8# 9# http://sabre.io/baikal 10# 11# This script is part of the Baïkal Server project. The Baïkal 12# Server project is free software; you can redistribute it 13# and/or modify it under the terms of the GNU General Public 14# License as published by the Free Software Foundation; either 15# version 2 of the License, or (at your option) any later version. 16# 17# The GNU General Public License can be found at 18# http://www.gnu.org/copyleft/gpl.html. 19# 20# This script is distributed in the hope that it will be useful, 21# but WITHOUT ANY WARRANTY; without even the implied warranty of 22# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23# GNU General Public License for more details. 24# 25# This copyright notice MUST APPEAR in all copies of the script! 26################################################################# 27 28namespace Baikal\Model\Calendar; 29 30class Event extends \Flake\Core\Model\Db { 31 const DATATABLE = "calendarobjects"; 32 const PRIMARYKEY = "id"; 33 const LABELFIELD = "uri"; 34 35 protected $aData = [ 36 "calendardata" => "", 37 "uri" => "", 38 "calendarid" => "", 39 "lastmodified" => "", 40 ]; 41} 42