Property | Type | Description | |
---|---|---|---|
GetPageModel | |||
PopulateDynamicList |
Method | Description | |
---|---|---|
GetEntityModel ( string id, Sdl.Web.Common.Configuration.Localization localization ) : |
Gets an Entity Model for a given Entity Identifier. Since we can't obtain CT metadata for DCPs, we obtain the View Name from the CT Title. |
|
GetPageContent ( string urlPath, Sdl.Web.Common.Configuration.Localization localization ) : string | ||
GetPageModel ( string urlPath, Sdl.Web.Common.Configuration.Localization localization, bool addIncludes ) : |
Gets a Page Model for a given URL.
|
|
GetStaticContentItem ( string urlPath, Sdl.Web.Common.Configuration.Localization localization ) : Sdl.Web.Common.Models.StaticContentItem |
Gets a Static Content Item for a given URL path.
|
|
PopulateDynamicList ( |
Populates a Dynamic List by executing the query it specifies.
|
Method | Description | |
---|---|---|
GetCmUrl ( string urlPath ) : string |
Converts a request URL path into a CMS URL (for example adding default page name and file extension)
|
|
GetIncludesFromModel ( DD4T.ContentModel.IPage page, Sdl.Web.Common.Configuration.Localization localization ) : IEnumerable |
||
GetPage ( string urlPath, Sdl.Web.Common.Configuration.Localization localization ) : DD4T.ContentModel.IPage |
Method | Description | |
---|---|---|
GetPageModel ( string urlPath, bool addIncludes = true ) : |
||
PopulateDynamicList ( |
protected GetCmUrl ( string urlPath ) : string | ||
urlPath | string | The request URL path (unescaped) |
return | string |
public GetEntityModel ( string id, Sdl.Web.Common.Configuration.Localization localization ) : |
||
id | string | The Entity Identifier in format ComponentID-TemplateID. |
localization | Sdl.Web.Common.Configuration.Localization | The context Localization. |
return |
protected GetIncludesFromModel ( DD4T.ContentModel.IPage page, Sdl.Web.Common.Configuration.Localization localization ) : IEnumerable |
||
page | DD4T.ContentModel.IPage | |
localization | Sdl.Web.Common.Configuration.Localization | |
return | IEnumerable |
protected GetPage ( string urlPath, Sdl.Web.Common.Configuration.Localization localization ) : DD4T.ContentModel.IPage | ||
urlPath | string | |
localization | Sdl.Web.Common.Configuration.Localization | |
return | DD4T.ContentModel.IPage |
public GetPageContent ( string urlPath, Sdl.Web.Common.Configuration.Localization localization ) : string | ||
urlPath | string | |
localization | Sdl.Web.Common.Configuration.Localization | |
return | string |
public GetPageModel ( string urlPath, Sdl.Web.Common.Configuration.Localization localization, bool addIncludes ) : |
||
urlPath | string | The URL path (unescaped). |
localization | Sdl.Web.Common.Configuration.Localization | The context Localization. |
addIncludes | bool | Indicates whether include Pages should be expanded. |
return |
public GetStaticContentItem ( string urlPath, Sdl.Web.Common.Configuration.Localization localization ) : Sdl.Web.Common.Models.StaticContentItem | ||
urlPath | string | The URL path (unescaped). |
localization | Sdl.Web.Common.Configuration.Localization | The context Localization. |
return | Sdl.Web.Common.Models.StaticContentItem |
public PopulateDynamicList ( |
||
dynamicList | The Dynamic List which specifies the query and is to be populated. | |
localization | Sdl.Web.Common.Configuration.Localization | The context Localization. |
return | void |