xref: /plugin/structpublish/meta/Constants.php (revision 364fb00a76700441fe173fe52b5398f15985dc8a)
1<?php
2
3namespace dokuwiki\plugin\structpublish\meta;
4
5/**
6 * Defines some constants used throughout the plugin
7 *
8 * @todo this might need to be replaced later if we want to have user configurable status
9 */
10class Constants
11{
12    // a page can be in one current status
13    const STATUS_DRAFT = 'draft';
14    const STATUS_APPROVED = 'approved';
15    const STATUS_PUBLISHED = 'published';
16
17    // an action transforms a page from one status to another
18    const ACTION_APPROVE = 'approve';
19    const ACTION_PUBLISH = 'publish';
20}
21