2016-02-05 06:45:46 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2018-04-16 06:50:28 +00:00
|
|
|
* © 2006 Daniel Kinzler
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program 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 General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
2016-02-05 06:45:46 +00:00
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @ingroup Extensions
|
|
|
|
* @author Daniel Kinzler, brightbyte.de
|
2018-04-16 06:50:28 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constants for use with the mode, defining what should be shown in the tree.
|
2016-02-05 06:45:46 +00:00
|
|
|
*/
|
|
|
|
class CategoryTreeMode {
|
|
|
|
|
2017-04-17 13:11:25 +00:00
|
|
|
const CATEGORIES = 0;
|
2016-02-05 06:45:46 +00:00
|
|
|
|
2017-04-17 13:11:25 +00:00
|
|
|
const PAGES = 10;
|
2016-02-05 06:45:46 +00:00
|
|
|
|
2017-04-17 13:11:25 +00:00
|
|
|
const ALL = 20;
|
2016-02-05 06:45:46 +00:00
|
|
|
|
2017-04-17 13:11:25 +00:00
|
|
|
const PARENTS = 100;
|
2016-02-05 06:45:46 +00:00
|
|
|
|
|
|
|
}
|