示例#1
0
 public static function mayAddLink(Module_Links $module, $user)
 {
     if (is_object($user)) {
         return GWF_Links::mayUserAddLink($module, $user);
     } else {
         return GWF_Links::mayGuestAddLink($module);
     }
 }