uc_views_handler_field_order_actions.inc in Ubercart Views 6.2
Same filename and directory in other branches
Views handler: Return actions for order id - by justindodge
File
views/uc_views_handler_field_order_actions.incView source
<?php
/**
* @file
* Views handler: Return actions for order id - by justindodge
*/
/**
* Return actions for an order
*/
class uc_views_handler_field_order_actions extends views_handler_field {
function render($values) {
$order = uc_order_load($values->order_id);
return uc_order_actions($order, true);
}
function query() {
//do nada, this isn't a real db field, just one we're rendering
}
}
Classes
Name | Description |
---|---|
uc_views_handler_field_order_actions | Return actions for an order |