You are here

sheetnode_handler_field_date.inc in Sheetnode 7.2

Views handler for sheetnode dates.

File

views/sheetnode_handler_field_date.inc
View source
<?php

/**
 * @file
 * Views handler for sheetnode dates.
 */

/**
 * Provides a custom sheetnode date handler.
 */
class sheetnode_handler_field_date extends views_handler_field {

  /**
   * Render the sheetnode date handler.
   */
  function render($values) {
    module_load_include('inc', 'sheetnode', 'socialcalc');
    $value = $values->{$this->field_alias};
    return socialcalc_import_date($value);
  }

}

Classes

Namesort descending Description
sheetnode_handler_field_date Provides a custom sheetnode date handler.