Changeset View
Changeset View
Standalone View
Standalone View
src/applications/countdown/view/PhabricatorCountdownView.php
Show All 11 Lines | final class PhabricatorCountdownView extends AphrontTagView { | ||||
} | } | ||||
public function setCountdown(PhabricatorCountdown $countdown) { | public function setCountdown(PhabricatorCountdown $countdown) { | ||||
$this->countdown = $countdown; | $this->countdown = $countdown; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getTagContent() { | protected function getTagContent() { | ||||
$countdown = $this->countdown; | $countdown = $this->countdown; | ||||
require_celerity_resource('phabricator-countdown-css'); | require_celerity_resource('phabricator-countdown-css'); | ||||
$header = null; | $header = null; | ||||
if (!$this->headless) { | if (!$this->headless) { | ||||
$header = phutil_tag( | $header = phutil_tag( | ||||
'div', | 'div', | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |