Property | Type | Description | |
---|---|---|---|
engine | Engine | ||
log | TemplatingLogger | ||
package | Package |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
ConstructFileName ( Component mmComp, string variantId ) : string |
public BinaryPublisher ( Package package, Engine engine ) : System | ||
package | Package | |
engine | Engine | |
return | System |
public BinaryPublisher ( Package package, Engine engine, string targetStructureGroup ) : System | ||
package | Package | |
engine | Engine | |
targetStructureGroup | string | |
return | System |
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 |
return | string |
public PublishBinariesInRichTextField ( string xhtml, BuildProperties buildProperties ) : string | ||
xhtml | string | |
buildProperties | BuildProperties | |
return | string |
protected PublishItem ( System.Item item, TcmUri itemUri ) : void | ||
item | System.Item | |
itemUri | TcmUri | |
return | void |
public PublishMultimediaComponent ( string uri, BuildProperties buildProperties ) : string | ||
uri | string | |
buildProperties | BuildProperties | |
return | string |