/** * Set the active user ID to work with. * * @param $ID int The user's ID **/ public static function setUser($ID = FALSE) { if (!$ID) { return; } $ID = (int) $ID; self::$current_user = $ID; }