/**
  * @param FORM $form
  * @param FORM_RENDERER $renderer
  * @access private
  */
 protected function _draw_date_fields($form, $renderer)
 {
     $renderer->draw_check_box_row('not_weather_type');
     $props = $renderer->make_list_properties();
     $props->items_per_row = 7;
     $i = 0;
     $icons = $this->app->display_options->weather_icons();
     foreach ($icons as $icon) {
         $i += 1;
         $props->add_item($icon->icon_as_html(Twenty_px), $i);
     }
     $renderer->draw_check_group_row('weather_type', $props);
     $renderer->start_row(' ');
     $options = new FORM_TEXT_CONTROL_OPTIONS();
     $options->css_class = 'tiny';
     echo 'Warmer than ' . $renderer->text_line_as_html('warmer_than', $options);
     echo '° and cooler than ' . $renderer->text_line_as_html('colder_than', $options) . '&deg';
     $renderer->finish_row();
     parent::_draw_date_fields($form, $renderer);
 }
 /**
  * @param FORM $form
  * @param FORM_RENDERER $renderer
  * @access private
  */
 protected function _draw_date_fields($form, $renderer)
 {
     $renderer->draw_check_box_row('not_kind');
     /** @var $display_options PROJECT_APPLICATION_DISPLAY_OPTIONS */
     $display_options = $this->app->display_options;
     $kinds = $display_options->entry_kinds();
     if (sizeof($kinds)) {
         $props = $renderer->make_list_properties();
         $index = 0;
         foreach ($kinds as $kind) {
             $props->add_item($this->context->get_icon_with_text($kind->icon, Sixteen_px, $kind->title), $index);
             $index += 1;
         }
         $renderer->draw_check_group_row('kind', $props);
     }
     parent::_draw_date_fields($form, $renderer);
 }
 /**
  * List of possible object states.
  * @return string[]
  */
 protected function _states()
 {
     $Result = parent::_states();
     $Result[Draft] = 'Draft';
     $Result[Queued] = 'Queued';
     $Result[Abandoned] = 'Abandoned';
     return $Result;
 }