Differential D25257 Diff 845 src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | $pages[] = $this->newDocumentationBoxPage($viewer, $title, $content) | ||||
->setAnchor('types'); | ->setAnchor('types'); | ||||
foreach ($types as $type) { | foreach ($types as $type) { | ||||
$section = array(); | $section = array(); | ||||
$section[] = $type->getConduitDescription(); | $section[] = $type->getConduitDescription(); | ||||
$type_documentation = $type->getConduitDocumentation(); | $type_documentation = $type->getConduitDocumentation(); | ||||
if (strlen($type_documentation)) { | if (phutil_nonempty_string($type_documentation)) { | ||||
$section[] = $type_documentation; | $section[] = $type_documentation; | ||||
} | } | ||||
$section = implode("\n\n", $section); | $section = implode("\n\n", $section); | ||||
$rows = array(); | $rows = array(); | ||||
$rows[] = array( | $rows[] = array( | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0