PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / src / Campaigns / ValueObjects / CampaignPageStatus.php

CampaignPageStatus.php in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at src/Campaigns/ValueObjects/CampaignPageStatus.php

41 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Give\Campaigns\ValueObjects;
4
5 use Give\Framework\Support\ValueObjects\Enum;
6
7 /**
8 * @since 4.14.0 add missing PENDING status
9 * @since 4.0.0
10 *
11 * Statuses aligned with WordPress Custom Post Type options.
12 *
13 * @method static CampaignPageStatus PUBLISH()
14 * @method static CampaignPageStatus FUTURE()
15 * @method static CampaignPageStatus PRIVATE()
16 * @method static CampaignPageStatus PENDING()
17 * @method static CampaignPageStatus DRAFT()
18 * @method static CampaignPageStatus TRASH()
19 * @method static CampaignPageStatus AUTO_DRAFT()
20 * @method static CampaignPageStatus INHERIT()
21 * @method bool isPublish()
22 * @method bool isFuture()
23 * @method bool isPrivate()
24 * @method bool isPending()
25 * @method bool isDraft()
26 * @method bool isTrash()
27 * @method bool isAutoDraft()
28 * @method bool isInherit()
29 */
30 class CampaignPageStatus extends Enum
31 {
32 public const PUBLISH = 'publish';
33 public const FUTURE = 'future';
34 public const PRIVATE = 'private';
35 public const PENDING = 'pending';
36 public const DRAFT = 'draft';
37 public const TRASH = 'trash';
38 public const AUTO_DRAFT = 'auto-draft';
39 public const INHERIT = 'inherit';
40 }
41