Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/controller/DivinerAtomController.php
| Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | if ($methods) { | ||||
| $atom = last($task_method['atoms']); | $atom = last($task_method['atoms']); | ||||
| $item = $this->renderFullSignature($atom, true); | $item = $this->renderFullSignature($atom, true); | ||||
| if (strlen($atom->getSummary())) { | if (strlen($atom->getSummary())) { | ||||
| $item = array( | $item = array( | ||||
| $item, | $item, | ||||
| " \xE2\x80\x94 ", | " \xE2\x80\x94 ", | ||||
| $atom->getSummary()); | $atom->getSummary(), | ||||
| ); | |||||
| } | } | ||||
| $list_items[] = phutil_tag('li', array(), $item); | $list_items[] = phutil_tag('li', array(), $item); | ||||
| } | } | ||||
| $box_content[] = phutil_tag( | $box_content[] = phutil_tag( | ||||
| 'ul', | 'ul', | ||||
| array( | array( | ||||
| ▲ Show 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | if ($implements) { | ||||
| $via = $spec['via']; | $via = $spec['via']; | ||||
| $iface = $spec['interface']; | $iface = $spec['interface']; | ||||
| if ($via == $symbol) { | if ($via == $symbol) { | ||||
| $items[] = $this->renderAtomTag($iface); | $items[] = $this->renderAtomTag($iface); | ||||
| } else { | } else { | ||||
| $items[] = array( | $items[] = array( | ||||
| $this->renderAtomTag($iface), | $this->renderAtomTag($iface), | ||||
| " \xE2\x97\x80 ", | " \xE2\x97\x80 ", | ||||
| $this->renderAtomTag($via)); | $this->renderAtomTag($via), | ||||
| ); | |||||
| } | } | ||||
| } | } | ||||
| $view->addProperty( | $view->addProperty( | ||||
| pht('Implements'), | pht('Implements'), | ||||
| phutil_implode_html(phutil_tag('br'), $items)); | phutil_implode_html(phutil_tag('br'), $items)); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines | |||||