private function AddPublishToHourField()
    {
        $name = 'PublishToHour';
        $to = $this->page->GetPublishTo();
        $field = Input::Text($name, $to ? $to->ToString('H') : '');
        $field->SetHtmlAttribute('data-type', 'hour');
        $this->AddField($field);
    }
private function AddPublishToHourField()
    {
        $name = 'PublishToHour';
        $to = $this->page->GetPublishTo();
        $field = Input::Text($name, $to ? $to->ToString('H') : '');
        $field->SetHtmlAttribute('data-type', 'hour');
        $this->AddField($field);
    }
private function AddPublishToHourField ( ) { $ name = 'PublishToHour' ; $ to = $ this -> page -> GetPublishTo ( ) ; $ field = Input :: Text ( $ name , $ to ? $ to -> ToString ( 'H' ) : '' ) ; $ field -> SetHtmlAttribute ( 'data-type' , 'hour' ) ; $ this -> AddField ( $ field ) ; }
Adds the publish to hour field
Adds the publish to hour field