Свойство | Тип | Описание | |
---|---|---|---|
engine | Engine | ||
log | TemplatingLogger | ||
package | Package |
Метод | Описание | |
---|---|---|
BinaryPublisher ( Package package, Engine engine ) : System | ||
BinaryPublisher ( Package package, Engine engine, string targetStructureGroup ) : System | ||
PublishBinariesInRichTextField ( string xhtml, BuildProperties buildProperties ) : string | ||
PublishMultimediaComponent ( string uri, BuildProperties buildProperties ) : string |
Метод | Описание | |
---|---|---|
GetECLUrl ( string uri ) : string | ||
GetReferencePath ( System.Item item, string uri ) : string |
Return the reference path for the binary which has just been published. This path is stored in the XML which is published to the broker, and may be used in the presentation engine to retrieve the binary. In this implementation, the reference path is the same as the publish path, but the method can be overridden to implement other logic. It could (for example) return the path to the binary through a CDN.
|
|
PublishItem ( System.Item item, TcmUri itemUri ) : void |
Метод | Описание | |
---|---|---|
ConstructFileName ( Component mmComp, string variantId ) : string |
public BinaryPublisher ( Package package, Engine engine ) : System | ||
package | Package | |
engine | Engine | |
Результат | System |
public BinaryPublisher ( Package package, Engine engine, string targetStructureGroup ) : System | ||
package | Package | |
engine | Engine | |
targetStructureGroup | string | |
Результат | System |
protected GetECLUrl ( string uri ) : string | ||
uri | string | |
Результат | string |
protected GetReferencePath ( System.Item item, string uri ) : string | ||
item | System.Item | The templating Item containing the multimedia component (including the publish path) |
uri | string | The uri of the multimedia component |
Результат | string |
public PublishBinariesInRichTextField ( string xhtml, BuildProperties buildProperties ) : string | ||
xhtml | string | |
buildProperties | BuildProperties | |
Результат | string |
protected PublishItem ( System.Item item, TcmUri itemUri ) : void | ||
item | System.Item | |
itemUri | TcmUri | |
Результат | void |
public PublishMultimediaComponent ( string uri, BuildProperties buildProperties ) : string | ||
uri | string | |
buildProperties | BuildProperties | |
Результат | string |