diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 10:46:37 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 10:46:37 +0100 |
commit | fa3a2e469db519571fa7dc13bc832e7de1f8057f (patch) | |
tree | 44a3a31876e9d1b3365b848a235477b86a18d1e8 /db/statusflag.php | |
parent | acb40d091fc096674b12ab3c95cabf49a42172c9 (diff) |
throw exceptions when attributes dont exist
Diffstat (limited to 'db/statusflag.php')
-rw-r--r-- | db/statusflag.php | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/db/statusflag.php b/db/statusflag.php index c4920a192..1b01ab42b 100644 --- a/db/statusflag.php +++ b/db/statusflag.php @@ -1,18 +1,31 @@ <?php + /** -* ownCloud - News app +* ownCloud - News * * @author Alessandro Cosentino -* Copyright (c) 2012 - Alessandro Cosentino <cosenal@gmail.com> +* @author Bernhard Posselt +* @copyright 2012 Alessandro Cosentino cosenal@gmail.com +* @copyright 2012 Bernhard Posselt nukeawhale@gmail.com +* +* This library is free software; you can redistribute it and/or +* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE +* License as published by the Free Software Foundation; either +* version 3 of the License, or any later version. +* +* 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. * -* This file is licensed under the Affero General Public License version 3 or later. -* See the COPYING-README file +* 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\News; +namespace OCA\News\Db; -class StatusFlag{ +class StatusFlag { const UNREAD = 0x02; const IMPORTANT = 0x04; const DELETED = 0x08; |