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