In Views, a handler is an object that is part of the view and is part of the query building flow. Handlers are objects; much of the time, the base handlers will work, but often you'll need to override the handler for something. One typical handler override will be views_handler_filter_operator_in which allows you to have a filter select from a list of options; you'll need to override this to provide your list. Handlers have two distint code flows; the UI flow and the view building flow. For the query flow:
/** * Filter by node type */ class views_handler_filter_node_type extends views_handler_filter_in_operator { function get_value_options() { if (!isset($this->value_options)) { $this->value_title = t('Node type'); $types = node_get_types(); foreach ($types as $type => $info) { $options[$type] = $info->name; } $this->value_options = $options; } } }views_handler_filter_in_operator provides a simple mechanism to set the list used and the rest of the handler is perfectly fine for this. The best place to learn more about handlers and how they work is to explore the views API site and use existing handlers as a guide and a model. Understanding how views_handler and its child classes work is handy but you can do a lot just following these models.