Méthode | Description | |
---|---|---|
Convert ( ConversionScenario scenario, string type, string originalValue ) : string |
Méthode | Description | |
---|---|---|
ResolveFileLink ( int linkId, string defaultValue ) : string | ||
ResolvePageLink ( int id, string defaultValue ) : string | ||
TryToResolveDnnCodeToLink ( string value ) : string |
Will take a link like "File:17" and convert to "Faq/screenshot1.jpg" It will always deliver a relative path to the portal root
|
|
TryToResolveOneLinkToInternalDnnCode ( string potentialFilePath ) : string |
Will take a link like http:\\... to a file or page and try to return a DNN-style info like Page:35 or File:43003
|
public Convert ( ConversionScenario scenario, string type, string originalValue ) : string | ||
scenario | ConversionScenario | |
type | string | |
originalValue | string | |
Résultat | string |