Page MenuHomestyx hydra

PhabricatorCommentEditType.php
No OneTemporary

PhabricatorCommentEditType.php

<?php
final class PhabricatorCommentEditType extends PhabricatorEditType {
protected function newConduitParameterType() {
return new ConduitStringParameterType();
}
protected function newBulkParameterType() {
return new BulkRemarkupParameterType();
}
public function generateTransactions(
PhabricatorApplicationTransaction $template,
array $spec) {
$comment = $template->getApplicationTransactionCommentObject()
->setContent(idx($spec, 'value'));
$xaction = $this->newTransaction($template)
->attachComment($comment);
return array($xaction);
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Nov 26, 8:23 PM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
376721
Default Alt Text
PhabricatorCommentEditType.php (606 B)

Event Timeline