registration_handler_field_entity_datetime.inc in Entity Registration 7
Same filename and directory in other branches
Display registration open or closing dates.
File
modules/registration_views/includes/registration_handler_field_entity_datetime.incView source
<?php
/**
* @file
* Display registration open or closing dates.
*/
class registration_handler_field_entity_datetime extends views_handler_field_date {
function render($values) {
$alias = isset($field) ? $this->aliases[$field] : $this->field_alias;
if (isset($values->{$alias})) {
$values->{$alias} = strtotime($values->{$alias});
if ($values->{$alias} !== FALSE) {
return parent::render($values);
}
}
}
}
Classes
Name | Description |
---|---|
registration_handler_field_entity_datetime | @file Display registration open or closing dates. |