/// <summary> /// A generic Container /// Articles are made up of a collection of SECTIONS /// </summary> /// <param name="element"></param> public Container(string element, MODEL model) : base(element, model) { this.id = id; this.label = model.label; this.subsections = "0"; this.status = 1; this.attributesId = 0; this.dataId = 0; this.metaId = 0; this.shared = 0; this.isPublic = 0; this.dateCreated = DateTime.UtcNow.ToLocalTime(); this.dateLastModified = DateTime.UtcNow.ToLocalTime(); }
/// <summary> /// Constructs a generic HREF anchor /// </summary> /// <param name="model"></param> /// <param name="innerHtml">The text to be displayed within the ANCHOR tags</param> public ANCHOR( MODEL model, string innerHtml ) : base("A", model, innerHtml) { this.className = "ANCHOR"; }