ISiteBranding Interface |
Each Site Branding entry corresponding to a presentation style collection. Site Branding at run time is determined by locating its search string on the request URL. If the search string is found on the request URL, site branding is applied.
In other words, site brandings allow for presentation style switching based on request URL, include host name, base URL, and query strings.
Namespace: Ingeniux.CMS
The ISiteBranding type exposes the following members.
Name | Description | |
---|---|---|
Created |
Gets the entity's creation date.
(Inherited from IEntity.) | |
CreationUser |
Gets the ID of the User who created this entity.
(Inherited from IEntity.) | |
LastModified |
Gets the date when the entity was most recently modified.
(Inherited from IEntity.) | |
LastModifiedUser |
Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity.) | |
Manager |
Gets the manager that retrieved this entity instance.
(Inherited from IEntityTManager.) | |
Name |
Gets and sets the entity's name.
(Inherited from IEntity.) | |
SearchString |
Gets and sets the search string of this brand entry.
(Inherited from IBrandEntryBase.) | |
Session |
Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity.) | |
SessionId |
Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity.) | |
SiteGroup |
Gets and sets the group to which this site branding belongs. Optional.
|
Name | Description | |
---|---|---|
ValidateData |
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.) | |
ValidateUserPermission |
Validates the user permission on the current entity. Implemented by concrete inheriting types.
It is called automatically upon saving an entity.
(Inherited from IEntity.) |
Name | Description | |
---|---|---|
AfterEntitySave |
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents.) | |
BeforeEntitySave |
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents.) |
At run time, site branding information is included in the IGX_Info/XPRESS/Site element:
<IGX_Info> <XPRESS> <SITE>print</SITE> </XPRESS> </IGX_Info>
User agent brandings are managed by the ISiteMap Manager object.
ISiteBranding siteBrand = session.SiteMap.Site("print");