EVGCategory Class Reference
Inherits from | Declared in |
---|---|
EVGItem : NSObject | EVGItems.h |
A category organizes other items and is contained in a hierarchy.
If YES
, this category is a department. Dynamic promoted content can be configured to only choose categories that are also departments.
Creates an EVGCategory
with the required id only.
Parameters
Parameter | Description |
---|---|
evgId | See [EVGItem evgId] . This is the only required field. |
Return Value
A category which can be further modified.
Creates an EVGCategory
with the required id and most common optionals.
Parameters
Parameter | Description |
---|---|
evgId | See [EVGItem evgId] . This is the only required field. |
isDepartment | See isDepartment |
name | See [EVGItem name] |
evgDescription | See [EVGItem evgDescription] |
Return Value
A category which can be further modified.
Creates an EVGCategory
from the provided JSON.
Parameters
Parameter | Description |
---|---|
json | A category in JSON form |
Return Value
A category which can be further modified, or nil
if JSON is invalid