Samples of code from a customization of the default Drupal calendar module view.