BmobRole Class Reference
| Inherits from | BmobObject : NSObject |
|---|---|
| Declared in | BmobRole.h |
– initWithName:
创建BmobRole对象
- (instancetype)initWithName:(NSString *)nameParameters
name |
角色名 |
|---|
Return Value
BmobRole对象
Declared In
BmobRole.h
– initWithName:acl:
创建BmobRole对象
- (instancetype)initWithName:(NSString *)name acl:(BmobACL *)aclParameters
name |
角色名 |
|---|---|
acl |
ACL权限 |
Return Value
BmobRole对象
Declared In
BmobRole.h
+ roleWithName:
创建BmobRole对象
+ (instancetype)roleWithName:(NSString *)nameParameters
name |
角色名 |
|---|
Return Value
BmobRole对象
Declared In
BmobRole.h
+ roleWithName:acl:
创建BmobRole对象
+ (instancetype)roleWithName:(NSString *)name acl:(BmobACL *)aclParameters
name |
角色名 |
|---|---|
acl |
ACL权限 |
Return Value
BmobRole对象
Declared In
BmobRole.h
– addUsersRelation:
角色表里面的users列
- (void)addUsersRelation:(BmobRelation *)relationParameters
relation |
关联user表的关联对象 |
|---|
Declared In
BmobRole.h
– addRolesRelation:
角色表里面的roles列
- (void)addRolesRelation:(BmobRelation *)relationParameters
relation |
关联roles表的关联对象 |
|---|
Declared In
BmobRole.h