Changeset View
Changeset View
Standalone View
Standalone View
src/view/phui/calendar/PHUICalendarWidgetView.php
Show All 9 Lines | public function setHeader($date) { | ||||
return $this; | return $this; | ||||
} | } | ||||
public function setCalendarList(PHUICalendarListView $list) { | public function setCalendarList(PHUICalendarListView $list) { | ||||
$this->list = $list; | $this->list = $list; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getTagName() { | protected function getTagName() { | ||||
return 'div'; | return 'div'; | ||||
} | } | ||||
public function getTagAttributes() { | protected function getTagAttributes() { | ||||
require_celerity_resource('phui-calendar-list-css'); | require_celerity_resource('phui-calendar-list-css'); | ||||
return array('class' => 'phui-calendar-list-container'); | return array('class' => 'phui-calendar-list-container'); | ||||
} | } | ||||
protected function getTagContent() { | protected function getTagContent() { | ||||
$header = id(new PHUIHeaderView()) | $header = id(new PHUIHeaderView()) | ||||
->setHeader($this->header); | ->setHeader($this->header); | ||||
Show All 9 Lines |