Method | Description | |
---|---|---|
GetIconPath ( Item item ) : string |
Gets a path to an icon.
|
|
GetItem ( ID itemId, Database database ) : Item |
Returns a Sitecore item.
|
|
GetItemPath ( Item item ) : string |
Returns a full item path in the content tree.
|
|
GetStateId ( Item item ) : string |
Returns a workflow state item ID.
|
|
GetStateItem ( Item item ) : Item |
Gets a workflow state item a content item is in.
|
|
GetStateItem ( string stateId, Database database ) : Item |
Gets a workflow state item.
|
|
HasExplicitDenies ( Item item ) : bool |
Checks if an item has explicit security deny rules on it.
|
|
HasLayout ( Item item ) : bool |
Checks if an item has a layout assigned.
|
|
IsApproved ( Item item ) : bool |
Checks if item is in a final workflow state.
|
public static GetIconPath ( Item item ) : string | ||
item | Item | Sitecore item. |
return | string |
public static GetItem ( ID itemId, Database database ) : Item | ||
itemId | ID | Item ID. |
database | Database | Database the item is in. |
return | Item |
public static GetItemPath ( Item item ) : string | ||
item | Item | Sitecore item. |
return | string |
public static GetStateId ( Item item ) : string | ||
item | Item | Sitecore content item. |
return | string |
public static GetStateItem ( Item item ) : Item | ||
item | Item | Sitecore content item. |
return | Item |
public static GetStateItem ( string stateId, Database database ) : Item | ||
stateId | string | Workflow state item id. |
database | Database | Database the workflow state is in. |
return | Item |
public static HasExplicitDenies ( Item item ) : bool | ||
item | Item | Sitecore item. |
return | bool |
public static HasLayout ( Item item ) : bool | ||
item | Item | Sitecore item. |
return | bool |
public static IsApproved ( Item item ) : bool | ||
item | Item | Sitecore item. |
return | bool |