advanced code snippet search
tylerhall on 07/10/06
textmate vc userid username
07/17/06 10:34am07/10/06 02:53pm
Just some code from my own framework.
function vc_format_user_id($table, $val, $row){ global $vc_username; if(!is_array($vc_username)) $vc_username = array(); if(!isset($vc_username[$val])) { $u = new User($val); $vc_username[$val] = $u->username; } return $vc_username[$val];}
Report this snippet Tweet
Comment:
You need to login to post a comment.