If you look at the foreach, it says:
@foreach($moduleSvc->getFrontendLinks($logged_in=false) as &$link
So it's grabbing all of the frontend links as $link. If the module you create says that's allowed for guest users, that will get the link as defined for that module. I need to write some extra documentation around this feature:
http://docs.phpvms.net/developers/add-ons-and-module