[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/phid/handle/view/ -> render.php (source)

   1  <?php
   2  
   3  /**
   4   * Implodes selected handles from a pool of handles. Useful if you load handles
   5   * for various phids, but only render a few of them at a time.
   6   *
   7   * @return PhutilSafeHTML
   8   */
   9  function implode_selected_handle_links($glue, array $handles, array $phids) {
  10  
  11    $items = array();
  12    foreach ($phids as $phid) {
  13      $items[] = $handles[$phid]->renderLink();
  14    }
  15  
  16    return phutil_implode_html($glue, $items);
  17  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1