메소드 | 설명 | |
---|---|---|
Create ( SPWeb web, PageInfo pageInfo ) : PublishingPage |
Creates a page in the Pages library
|
|
Create ( SPWeb web, int folderId, PageInfo pageInfo ) : PublishingPage |
Creates a page in the Pages library
|
|
Create ( SPWeb web, int folderId, SPContentTypeId contentTypeId, string pageLayoutName, string pageTitle, string pageName ) : PublishingPage |
Create publishing page in Pages Library
|
|
GetPageLayout ( PublishingSite publishingSite, string pageLayoutName, bool excludeObsolete ) : PageLayout |
Get the page layout
|
|
PageCreator ( |
PageCreator constructor
|
메소드 | 설명 | |
---|---|---|
EnsureFolderPublish ( SPFolder folder ) : void | ||
GetDefaultContentTypeId ( SPFolder folder ) : string |
public Create ( SPWeb web, PageInfo pageInfo ) : PublishingPage | ||
web | SPWeb | the current web |
pageInfo | PageInfo | the pageInfo of the page |
리턴 | PublishingPage |
public Create ( SPWeb web, int folderId, PageInfo pageInfo ) : PublishingPage | ||
web | SPWeb | The current web |
folderId | int | The folder in which to add the item |
pageInfo | PageInfo | The pageInfo of the page |
리턴 | PublishingPage |
public Create ( SPWeb web, int folderId, SPContentTypeId contentTypeId, string pageLayoutName, string pageTitle, string pageName ) : PublishingPage | ||
web | SPWeb | the current web |
folderId | int | the current folder id |
contentTypeId | SPContentTypeId | the current content type id |
pageLayoutName | string | the page layout name |
pageTitle | string | the page title |
pageName | string | the page name |
리턴 | PublishingPage |
public GetPageLayout ( PublishingSite publishingSite, string pageLayoutName, bool excludeObsolete ) : PageLayout | ||
publishingSite | PublishingSite | the current publishing site |
pageLayoutName | string | the page layout name |
excludeObsolete | bool | exclude obsolete page layout |
리턴 | PageLayout |
public PageCreator ( |
||
folderRepository | Folder repository | |
logger | ILogger | the current logger |
리턴 | System |