function _referral_column_width in User Referral 5
Same name and namespace in other branches
- 6 referral.module \_referral_column_width()
- 7 referral.module \_referral_column_width()
2 calls to _referral_column_width()
File
- ./
referral.module, line 527
Code
function _referral_column_width($column, $width = 30) {
return strlen($column) > $width ? substr($column, 0, $width) . '...' : $column;
}