public static function getUser($id) { $user = Facebook::model()->find("id = " . $id); return $user; }