PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.15.2
GiveWP – Donation Plugin and Fundraising Platform v4.15.2
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 2.31.0 2.31.1 All 253 releases
give / src / Campaigns / ValueObjects / CampaignStatus.php
CampaignStatus.php
37 lines 1001 B
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.0.0
9 *
10 * Statuses copied from https://github.com/impress-org/give-peer-to-peer/blob/develop/src/P2P/ValueObjects/Status.php
11 *
12 * @method static CampaignStatus ARCHIVED()
13 * @method static CampaignStatus ACTIVE()
14 * @method static CampaignStatus INACTIVE()
15 * @method static CampaignStatus DRAFT()
16 * @method static CampaignStatus PENDING()
17 * @method static CampaignStatus PROCESSING()
18 * @method static CampaignStatus FAILED()
19 * @method bool isArchived()
20 * @method bool isActive()
21 * @method bool isInactive()
22 * @method bool isDraft()
23 * @method bool isPending()
24 * @method bool isProcessing()
25 * @method bool isFailed()
26 */
27 class CampaignStatus extends Enum
28 {
29 const ARCHIVED = 'archived';
30 const ACTIVE = 'active';
31 const INACTIVE = 'inactive';
32 const DRAFT = 'draft';
33 const PENDING = 'pending';
34 const PROCESSING = 'processing';
35 const FAILED = 'failed';
36 }
37