PaymentViewsHandlerAccessOwnPaymentOverview.inc in Payment 7
File
views/PaymentViewsHandlerAccessOwnPaymentOverview.inc
View source
<?php
class PaymentViewsHandlerAccessOwnPaymentOverview extends views_plugin_access {
function summary_title() {
return t('Restricted to people with the <em>View any payment</em> permission, or to people with the <em>View own payments</em> permission who access their own payments.');
}
function access($account) {
return _payment_own_overview_views_handler_access($account);
}
function get_access_callback() {
return array(
'_payment_own_overview_views_handler_access',
array(),
);
}
}