Container class for storing information about an option for BCFormFieldTypeSelect or BCFormFieldTypeRadio.
More...
#import <BCFormFieldOption.h>
Container class for storing information about an option for BCFormFieldTypeSelect or BCFormFieldTypeRadio.
- Since
- Version 1.0
+ (id) formOptionWithName: |
|
(NSString *) |
name |
value: |
|
(NSString *) |
value |
nameBrandingKey: |
|
(NSString *) |
nameBrandingKey |
isDefaultValue: |
|
(BOOL) |
isDefaultValue |
|
|
| |
The static constructor for items options that does not have availability settings.
- Parameters
-
name | The name of the field, this is appropriate to show to a user. |
value | The value of the field, this is not appropriate to show to a user. |
nameBrandingKey | The branding key for name localization if exists for the option. |
isDefaultValue | YES if the value is the default. |
- Returns
- An instance of BCFormFieldOption.
- Since
- Version 1.0
+ (id) formOptionWithName: |
|
(NSString *) |
name |
value: |
|
(NSString *) |
value |
nameBrandingKey: |
|
(NSString *) |
nameBrandingKey |
isDefaultValue: |
|
(BOOL) |
isDefaultValue |
isAvailable: |
|
(BOOL) |
isAvailable |
availableLabel: |
|
(NSString *) |
availableLabel |
|
|
| |
The static constructor for items options that have availability settings.
- Parameters
-
name | The name of the field, this is appropriate to show to a user. |
value | The value of the field, this is not appropriate to show to a user. |
nameBrandingKey | The branding key for name localization if exists for the option. |
isDefaultValue | YES if the value is the default. |
isAvailable | YES if the value is the default one for the BCFormFieldTypeSelect or BCFormFieldTypeRadio field. |
availableLabel | For deparments selection fields that have online/offlinet status, this will return the status label to be displayed to the user. |
- Returns
- An instance of BCFormFieldOption.
- Since
- Version 1.0
- (id) initWithName: |
|
(NSString *) |
name |
value: |
|
(NSString *) |
value |
nameBrandingKey: |
|
(NSString *) |
nameBrandingKey |
isDefaultValue: |
|
(BOOL) |
isDefaultValue |
|
|
| |
The constructor for items options that does not have availability settings.
- Parameters
-
name | The name of the field, this is appropriate to show to a user. |
value | The value of the field, this is not appropriate to show to a user. |
nameBrandingKey | The branding key for name localization if exists for the option. |
isDefaultValue | YES if the value is the default. |
- Returns
- An instance of BCFormFieldOption.
- Since
- Version 1.0
- (id) initWithName: |
|
(NSString *) |
name |
value: |
|
(NSString *) |
value |
nameBrandingKey: |
|
(NSString *) |
nameBrandingKey |
isDefaultValue: |
|
(BOOL) |
isDefaultValue |
isAvailable: |
|
(BOOL) |
isAvailable |
availableLabel: |
|
(NSString *) |
availableLabel |
|
|
| |
The constructor for items options that have availability settings.
- Parameters
-
name | The name of the field, this is appropriate to show to a user. |
value | The value of the field, this is not appropriate to show to a user. |
nameBrandingKey | The branding key for name localization if exists for the option. |
isDefaultValue | YES if the value is the default. |
isAvailable | YES if the value is the default one for the BCFormFieldTypeSelect or BCFormFieldTypeRadio field. |
availableLabel | For deparments selection fields that have online/offlinet status, this will return the status label to be displayed to the user. |
- Returns
- An instance of BCFormFieldOption.
- Since
- Version 1.0
- (NSString*) availableLabel |
|
readnonatomiccopy |
For deparments selection fields that have online/offlinet status, this will return the status label to be displayed to the user.
- Since
- Version 1.0
- (BOOL) isAvailiblitySet |
|
readnonatomicassign |
YES if the value is the default.
- Since
- Version 1.0
The name of the field, this is appropriate to show to a user.
- Since
- Version 1.0
- (NSString*) nameBrandingKey |
|
readnonatomiccopy |
The branding key for name localization if exists for the option.
- Since
- Version 1.0
The value of the field, this is not appropriate to show to a user.
- Since
- Version 1.0
The documentation for this class was generated from the following file: