uc_coupon_handler_field_bulk_number.inc in Ubercart Discount Coupons 7.2
Same filename and directory in other branches
Views handler: Coupon bulk number.
File
views/uc_coupon_handler_field_bulk_number.incView source
<?php
/**
* @file
* Views handler: Coupon bulk number.
*/
/**
* Return number of bulk codes based on this field
*/
class uc_coupon_handler_field_bulk_number extends views_handler_field_numeric {
function render($values) {
$data = unserialize($values->{$this->field_alias});
return $data['bulk_number'];
}
}
Classes
Name | Description |
---|---|
uc_coupon_handler_field_bulk_number | Return number of bulk codes based on this field |