- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
def type
return 'Anonymous' if self.builtin == BUILTIN_ANONYMOUS
return 'Non Member' if self.builtin == BUILTIN_NON_MEMBER
return 'Member' if self.builtin == BUILTIN_MEMBER
return 'User' if self.builtin == BUILTIN_USER
return 'Manager' if self.builtin == BUILTIN_MANAGER
return 'Architect' if self.builtin == BUILTIN_ARCHITECT
return 'Designer' if self.builtin == BUILTIN_DESIGNER
return 'Customer' if self.builtin == BUILTIN_CUSTOMER
return 'Vendor' if self.builtin == BUILTIN_VENDOR
return 'Dealer' if self.builtin == BUILTIN_DEALER
end
def require_name
return 'is_anonymous' if self.builtin == BUILTIN_ANONYMOUS
return 'is_non_member' if self.builtin == BUILTIN_NON_MEMBER
return 'is_member' if self.builtin == BUILTIN_MEMBER
return 'is_user' if self.builtin == BUILTIN_USER
return 'is_manager' if self.builtin == BUILTIN_MANAGER
return 'is_architect' if self.builtin == BUILTIN_ARCHITECT
return 'is_designer' if self.builtin == BUILTIN_DESIGNER
return 'is_customer' if self.builtin == BUILTIN_CUSTOMER
return 'is_vendor' if self.builtin == BUILTIN_VENDOR
return 'is_dealer' if self.builtin == BUILTIN_DEALER
end
eth0 11.12.2011 14:30 # +4
Lure Of Chaos 11.12.2011 15:23 # 0
tir 11.12.2011 16:42 # 0
Lure Of Chaos 11.12.2011 17:13 # 0
roman-kashitsyn 11.12.2011 22:57 # +1
gegMOPO4 12.12.2011 13:06 # 0
guestGovno 12.12.2011 13:15 # 0
TheHamstertamer 12.12.2011 14:48 # 0
roman-kashitsyn 12.12.2011 15:20 # 0
TheHamstertamer 11.12.2011 20:11 # 0
TheHamstertamer 12.12.2011 14:47 # 0
fxd
guest8 09.04.2019 12:20 # −999