Method | Description | |
---|---|---|
AddPageUrlPostfix ( string url, string prefixPattern, List |
Adds the postfix to the specified URL.
|
|
DefaultUrlService ( IUnitOfWork unitOfWork, ICmsConfiguration configuration ) : System |
Initializes a new instance of the DefaultUrlService class.
|
|
FixUrl ( string url ) : string |
Fixes the URL (adds slashes in front and bottom).
|
|
FixUrlFront ( string url ) : string | ||
ValidateExternalUrl ( string url ) : bool |
Validates the internal URL.
|
|
ValidateInternalUrl ( string url ) : bool |
Validates the internal URL.
|
|
ValidateInternalUrlWithQueryString ( string url ) : bool |
Validates the internal URL with query string.
|
|
ValidateUrlPatterns ( string url, string &message, string validatingFieldName = null ) : bool |
Validates the URL patterns.
|
Method | Description | |
---|---|---|
PathExistsInDb ( string url ) : bool |
Checks if path exists in database.
|
|
PathExistsInUnsavedList ( string url, List |
Checks if path exists in unsaved list.
|
public AddPageUrlPostfix ( string url, string prefixPattern, List |
||
url | string | The page URL. |
prefixPattern | string | The prefix pattern. |
unsavedUrls | List |
The list of not saved yet urls. |
return | string |
public DefaultUrlService ( IUnitOfWork unitOfWork, ICmsConfiguration configuration ) : System | ||
unitOfWork | IUnitOfWork | The unit of work. |
configuration | ICmsConfiguration | The configuration. |
return | System |
public ValidateExternalUrl ( string url ) : bool | ||
url | string | The URL. |
return | bool |
public ValidateInternalUrl ( string url ) : bool | ||
url | string | The URL. |
return | bool |
public ValidateInternalUrlWithQueryString ( string url ) : bool | ||
url | string | The URL. |
return | bool |
public ValidateUrlPatterns ( string url, string &message, string validatingFieldName = null ) : bool | ||
url | string | The URL. |
message | string | The message. |
validatingFieldName | string | Name of the validating field. |
return | bool |