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 // a page can be in one current status 12 const STATUS_DRAFT = 'draft'; 13 const STATUS_APPROVED = 'approved'; 14 const STATUS_PUBLISHED = 'published'; 15 16 // an action transforms a page from one status to another 17 const ACTION_APPROVE = 'approve'; 18 const ACTION_PUBLISH = 'publish'; 19} 20