当前位置: 首页>>代码示例>>PHP>>正文


PHP PhabricatorApplicationTransaction::getNoEffectDescription方法代码示例

本文整理汇总了PHP中PhabricatorApplicationTransaction::getNoEffectDescription方法的典型用法代码示例。如果您正苦于以下问题:PHP PhabricatorApplicationTransaction::getNoEffectDescription方法的具体用法?PHP PhabricatorApplicationTransaction::getNoEffectDescription怎么用?PHP PhabricatorApplicationTransaction::getNoEffectDescription使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PhabricatorApplicationTransaction的用法示例。


在下文中一共展示了PhabricatorApplicationTransaction::getNoEffectDescription方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getNoEffectDescription

 public function getNoEffectDescription()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_ACTIVE:
             return pht('The product is already in that state.');
     }
     return parent::getNoEffectDescription();
 }
开发者ID:pugong,项目名称:phabricator,代码行数:8,代码来源:ReleephProductTransaction.php

示例2: getNoEffectDescription

 public function getNoEffectDescription()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_PARTICIPANTS:
             return pht('You can not add a participant who has already been added.');
             break;
     }
     return parent::getNoEffectDescription();
 }
开发者ID:NeoArmageddon,项目名称:phabricator,代码行数:9,代码来源:ConpherenceTransaction.php

示例3: getNoEffectDescription

 public function getNoEffectDescription()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_IMAGE_NAME:
             return pht('The image title was not updated.');
         case self::TYPE_IMAGE_DESCRIPTION:
             return pht('The image description was not updated.');
         case self::TYPE_IMAGE_SEQUENCE:
             return pht('The image sequence was not updated.');
     }
     return parent::getNoEffectDescription();
 }
开发者ID:rchicoli,项目名称:phabricator,代码行数:12,代码来源:PholioTransaction.php

示例4: getNoEffectDescription

 public function getNoEffectDescription()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_STATUS:
             return pht('The task already has the selected status.');
         case self::TYPE_OWNER:
             return pht('The task already has the selected owner.');
         case self::TYPE_PROJECTS:
             return pht('The task is already associated with those projects.');
         case self::TYPE_PRIORITY:
             return pht('The task already has the selected priority.');
     }
     return parent::getNoEffectDescription();
 }
开发者ID:denghp,项目名称:phabricator,代码行数:14,代码来源:ManiphestTransaction.php

示例5: getNoEffectDescription

 public function getNoEffectDescription()
 {
     switch ($this->getTransactionType()) {
         case PhabricatorTransactions::TYPE_EDGE:
             switch ($this->getMetadataValue('edge:type')) {
                 case DifferentialRevisionHasReviewerEdgeType::EDGECONST:
                     return pht('The reviewers you are trying to add are already reviewing ' . 'this revision.');
             }
             break;
         case self::TYPE_ACTION:
             switch ($this->getNewValue()) {
                 case DifferentialAction::ACTION_CLOSE:
                     return pht('This revision is already closed.');
                 case DifferentialAction::ACTION_ABANDON:
                     return pht('This revision has already been abandoned.');
                 case DifferentialAction::ACTION_RECLAIM:
                     return pht('You can not reclaim this revision because his revision is ' . 'not abandoned.');
                 case DifferentialAction::ACTION_REOPEN:
                     return pht('You can not reopen this revision because this revision is ' . 'not closed.');
                 case DifferentialAction::ACTION_RETHINK:
                     return pht('This revision already requires changes.');
                 case DifferentialAction::ACTION_REQUEST:
                     return pht('Review is already requested for this revision.');
                 case DifferentialAction::ACTION_RESIGN:
                     return pht('You can not resign from this revision because you are not ' . 'a reviewer.');
                 case DifferentialAction::ACTION_CLAIM:
                     return pht('You can not commandeer this revision because you already own ' . 'it.');
                 case DifferentialAction::ACTION_ACCEPT:
                     return pht('You have already accepted this revision.');
                 case DifferentialAction::ACTION_REJECT:
                     return pht('You have already requested changes to this revision.');
             }
             break;
     }
     return parent::getNoEffectDescription();
 }
开发者ID:pugong,项目名称:phabricator,代码行数:36,代码来源:DifferentialTransaction.php


注:本文中的PhabricatorApplicationTransaction::getNoEffectDescription方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。