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