You are here

function _referral_column_width in User Referral 5

Same name and namespace in other branches
  1. 6 referral.module \_referral_column_width()
  2. 7 referral.module \_referral_column_width()
2 calls to _referral_column_width()
referral_admin_view_details in ./referral.module
referral_admin_view_roles in ./referral.module

File

./referral.module, line 527

Code

function _referral_column_width($column, $width = 30) {
  return strlen($column) > $width ? substr($column, 0, $width) . '...' : $column;
}