MagicCss Members
The MagicCss type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
MagicCss(String) |
Initializes a new empty instance of the MagicCss class.
|
![]() |
MagicCss(Int32) |
Initializes a new instance of the MagicCss class fletching it from the MagicCMS database.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() |
CreateIfNotExists |
Creates CustomCSS table if not exists.
|
![]() ![]() |
GetCurrent |
Gets the current custom CSS.
|
![]() ![]() |
GetVersions |
Gets the versions.
|
![]() |
Insert |
Inserts a new record in CustomCss table.
|
![]() |
Save |
Update existing record in CustomCSS table
|
Properties
Name | Description | |
---|---|---|
![]() |
CssText |
Gets or sets the CSS code.
|
![]() |
LastModified |
Gets or sets the last modified.
|
![]() |
Pk |
Gets or sets the pk. Unique ID of custom css.
|
![]() |
Title |
Gets the title. The title is generated by comments at the beginning of css code.
|