View Source
Class HtmlHelperBackOfficeExtensions
HtmlHelper extensions for the back office
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public static class HtmlHelperBackOfficeExtensions
Methods
View Source
AngularValueExternalLoginInfoScript(HtmlHelper, IEnumerable<String>)
Declaration
[Obsolete("Use the other overload instead")]
public static IHtmlString AngularValueExternalLoginInfoScript(this HtmlHelper html, IEnumerable<string> externalLoginErrors)
Parameters
Type |
Name |
Description |
HtmlHelper |
html |
|
System.Collections.Generic.IEnumerable<System.String> |
externalLoginErrors |
|
Returns
Type |
Description |
System.Web.IHtmlString |
|
View Source
AngularValueExternalLoginInfoScript(HtmlHelper, BackOfficeExternalLoginProviderErrors)
Used to render the script that will pass in the angular "externalLoginInfo" service/value on page load
Declaration
public static IHtmlString AngularValueExternalLoginInfoScript(this HtmlHelper html, BackOfficeExternalLoginProviderErrors externalLoginErrors)
Parameters
Returns
Type |
Description |
System.Web.IHtmlString |
|
View Source
AngularValueResetPasswordCodeInfoScript(HtmlHelper, Object)
Used to render the script that will pass in the angular "resetPasswordCodeInfo" service/value on page load
Declaration
public static IHtmlString AngularValueResetPasswordCodeInfoScript(this HtmlHelper html, object val)
Parameters
Type |
Name |
Description |
HtmlHelper |
html |
|
System.Object |
val |
|
Returns
Type |
Description |
System.Web.IHtmlString |
|
View Source
AngularValueTinyMceAssets(HtmlHelper)
Declaration
public static IHtmlString AngularValueTinyMceAssets(this HtmlHelper html)
Parameters
Type |
Name |
Description |
HtmlHelper |
html |
|
Returns
Type |
Description |
System.Web.IHtmlString |
|
View Source
BareMinimumServerVariablesScript(HtmlHelper, UrlHelper, String, UmbracoFeatures, IGlobalSettings)
Outputs a script tag containing the bare minimum (non secure) server vars for use with the angular app
Declaration
public static IHtmlString BareMinimumServerVariablesScript(this HtmlHelper html, UrlHelper uri, string externalLoginsUrl, UmbracoFeatures features, IGlobalSettings globalSettings)
Parameters
Type |
Name |
Description |
HtmlHelper |
html |
|
UrlHelper |
uri |
|
System.String |
externalLoginsUrl |
The post URL used to sign in with external logins - this can change depending on for what service the external login is service.
Example: normal back office login or authenticating upgrade login
|
UmbracoFeatures |
features |
|
IGlobalSettings |
globalSettings |
|
Returns
Type |
Description |
System.Web.IHtmlString |
|