Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/constants/PhabricatorTransactions.php
<?php | <?php | ||||
final class PhabricatorTransactions { | final class PhabricatorTransactions { | ||||
const TYPE_COMMENT = 'core:comment'; | const TYPE_COMMENT = 'core:comment'; | ||||
const TYPE_SUBSCRIBERS = 'core:subscribers'; | const TYPE_SUBSCRIBERS = 'core:subscribers'; | ||||
const TYPE_VIEW_POLICY = 'core:view-policy'; | const TYPE_VIEW_POLICY = 'core:view-policy'; | ||||
const TYPE_EDIT_POLICY = 'core:edit-policy'; | const TYPE_EDIT_POLICY = 'core:edit-policy'; | ||||
const TYPE_JOIN_POLICY = 'core:join-policy'; | const TYPE_JOIN_POLICY = 'core:join-policy'; | ||||
const TYPE_EDGE = 'core:edge'; | const TYPE_EDGE = 'core:edge'; | ||||
const TYPE_CUSTOMFIELD = 'core:customfield'; | const TYPE_CUSTOMFIELD = 'core:customfield'; | ||||
const TYPE_BUILDABLE = 'harbormaster:buildable'; | const TYPE_BUILDABLE = 'harbormaster:buildable'; | ||||
const TYPE_TOKEN = 'token:give'; | const TYPE_TOKEN = 'token:give'; | ||||
const TYPE_INLINESTATE = 'core:inlinestate'; | |||||
const COLOR_RED = 'red'; | const COLOR_RED = 'red'; | ||||
const COLOR_ORANGE = 'orange'; | const COLOR_ORANGE = 'orange'; | ||||
const COLOR_YELLOW = 'yellow'; | const COLOR_YELLOW = 'yellow'; | ||||
const COLOR_GREEN = 'green'; | const COLOR_GREEN = 'green'; | ||||
const COLOR_SKY = 'sky'; | const COLOR_SKY = 'sky'; | ||||
const COLOR_BLUE = 'blue'; | const COLOR_BLUE = 'blue'; | ||||
const COLOR_INDIGO = 'indigo'; | const COLOR_INDIGO = 'indigo'; | ||||
const COLOR_VIOLET = 'violet'; | const COLOR_VIOLET = 'violet'; | ||||
const COLOR_GREY = 'grey'; | const COLOR_GREY = 'grey'; | ||||
const COLOR_BLACK = 'black'; | const COLOR_BLACK = 'black'; | ||||
public static function getInlineStateMap() { | |||||
return array( | |||||
PhabricatorInlineCommentInterface::STATE_DRAFT => | |||||
PhabricatorInlineCommentInterface::STATE_DONE, | |||||
PhabricatorInlineCommentInterface::STATE_UNDRAFT => | |||||
PhabricatorInlineCommentInterface::STATE_UNDONE, | |||||
); | |||||
} | |||||
} | } |