Example #1
0
 private function AddPublishToMinuteField()
 {
     $name = 'PublishToMinute';
     $to = $this->page->GetPublishTo();
     $field = Input::Text($name, $to ? $to->ToString('i') : '');
     $field->SetHtmlAttribute('data-type', 'minute');
     $this->AddField($field);
 }