public function hasChangeDetails()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_EDIT:
             return true;
     }
     return parent::hasChangeDetails();
 }
 public function hasChangeDetails()
 {
     switch ($this->getTransactionType()) {
         default:
             break;
     }
     return parent::hasChangeDetails();
 }
 public function hasChangeDetails()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_DESCRIPTION:
             return $this->getOldValue() !== null;
     }
     return parent::hasChangeDetails();
 }
Ejemplo n.º 4
0
 public function hasChangeDetails()
 {
     $old = $this->getOldValue();
     switch ($this->getTransactionType()) {
         case self::TYPE_CONTENT:
             return $old !== null;
     }
     return parent::hasChangeDetails();
 }
Ejemplo n.º 5
0
 public function hasChangeDetails()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_TITLE:
         case self::TYPE_TEXT:
         case self::TYPE_PREAMBLE:
             return true;
     }
     return parent::hasChangeDetails();
 }
 public function hasChangeDetails()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_DESCRIPTION:
             return $this->getOldValue() !== null;
         case self::TYPE_CONTACTINFO:
             return $this->getOldValue() !== null;
         case self::TYPE_INVOICEEMAIL:
             return $this->getOldValue() !== null;
         case self::TYPE_INVOICEFOOTER:
             return $this->getOldValue() !== null;
     }
     return parent::hasChangeDetails();
 }
 public final function hasChangeDetails()
 {
     if ($this->getTransactionImplementation()->hasChangeDetailView()) {
         return true;
     }
     return parent::hasChangeDetails();
 }
 public function hasChangeDetails()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_CONTENT:
         case self::TYPE_ANSWERWIKI:
             return true;
     }
     return parent::hasChangeDetails();
 }
Ejemplo n.º 9
0
 public function hasChangeDetails()
 {
     switch ($this->getTransactionType()) {
         case self::TYPE_DESCRIPTION:
         case self::TYPE_IMAGE_DESCRIPTION:
             return true;
     }
     return parent::hasChangeDetails();
 }
 public function hasChangeDetails()
 {
     switch ($this->getTransactionType()) {
         case PhabricatorSlowvoteTransaction::TYPE_DESCRIPTION:
             return true;
     }
     return parent::hasChangeDetails();
 }