Page MenuHomec4science

PHUIDiffRevealIconView.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 11:22

PHUIDiffRevealIconView.php

<?php
final class PHUIDiffRevealIconView extends AphrontView {
public function render() {
$icon = id(new PHUIIconView())
->setIcon('fa-comment')
->addSigil('has-tooltip')
->setMetadata(
array(
'tip' => pht('Expand'),
'align' => 'E',
'size' => 275,
));
return javelin_tag(
'a',
array(
'href' => '#',
'class' => 'reveal-inline',
'sigil' => 'reveal-inline',
'mustcapture' => true,
),
$icon);
}
}

Event Timeline