MagicCMS Documentation

MagicCss Members

The MagicCss type exposes the following members.


  Name Description
Public method MagicCss(String)
Initializes a new empty instance of the MagicCss class.
Public method MagicCss(Int32)
Initializes a new instance of the MagicCss class fletching it from the MagicCMS database.


  Name Description
Public method Static member CreateIfNotExists
Creates CustomCSS table if not exists.
Public method Static member GetCurrent
Gets the current custom CSS.
Public method Static member GetVersions
Gets the versions.
Public method Insert
Inserts a new record in CustomCss table.
Public method Save
Update existing record in CustomCSS table


  Name Description
Public property CssText
Gets or sets the CSS code.
Public property LastModified
Gets or sets the last modified.
Public property Pk
Gets or sets the pk. Unique ID of custom css.
Public property Title
Gets the title. The title is generated by comments at the beginning of css code.