2021-02-18 11:06:02 +01:00
|
|
|
|
namespace Umbraco.Cms.Core
|
2018-06-29 19:52:40 +02:00
|
|
|
|
{
|
2019-11-05 13:45:42 +01:00
|
|
|
|
public static partial class Constants
|
2018-06-29 19:52:40 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Defines the identifiers for Umbraco system nodes.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static class System
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The integer identifier for global system root node.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const int Root = -1;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string identifier for global system root node.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
|
|
|
|
public const string RootString = "-1";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The integer identifier for content's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const int RecycleBinContent = -20;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string identifier for content's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
|
|
|
|
public const string RecycleBinContentString = "-20";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string path prefix of the content's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>
|
|
|
|
|
|
/// <para>Everything that is in the content recycle bin, has a path that starts with the prefix.</para>
|
|
|
|
|
|
/// <para>Use this instead of re-creating the string everywhere.</para>
|
|
|
|
|
|
/// </remarks>
|
|
|
|
|
|
public const string RecycleBinContentPathPrefix = "-1,-20,";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The integer identifier for media's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const int RecycleBinMedia = -21;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string identifier for media's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
|
|
|
|
public const string RecycleBinMediaString = "-21";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string path prefix of the media's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>
|
|
|
|
|
|
/// <para>Everything that is in the media recycle bin, has a path that starts with the prefix.</para>
|
|
|
|
|
|
/// <para>Use this instead of re-creating the string everywhere.</para>
|
|
|
|
|
|
/// </remarks>
|
|
|
|
|
|
public const string RecycleBinMediaPathPrefix = "-1,-21,";
|
|
|
|
|
|
|
2018-10-01 14:32:46 +02:00
|
|
|
|
public const int DefaultLabelDataTypeId = -92;
|
2018-06-29 19:52:40 +02:00
|
|
|
|
public const string UmbracoConnectionName = "umbracoDbDSN";
|
|
|
|
|
|
public const string UmbracoUpgradePlanName = "Umbraco.Core";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|