No logic in PHP. l() function in theme.inc.