MagicPost Members
The MagicPost type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
MagicPost()()()() |
Initializes a new empty instance of the MagicPost class.
|
![]() |
MagicPost(MagicPostTypeInfo) |
Initializes a new empty instance of the MagicPost class of a chosen type.
|
![]() |
MagicPost(Int32) |
Initializes a new instance of the MagicPost class. Fetching it from database.
|
![]() |
MagicPost(SqlDataReader) |
Initializes a new instance of the MagicPost class. Fetching it from database.
|
Methods
Name | Description | |
---|---|---|
![]() |
AddChild |
Adds a child to a Post.
|
![]() |
CloneChildrenFrom |
Clones the children from another post.
|
![]() |
ConnectTo(Int32) |
Connects a child to single parent MagicPost object.
|
![]() |
ConnectTo(array<Int32>[]()[][]) |
Connects a child to many parent MagicPost objects.
|
![]() |
CountChildren(Int32) |
Counts the children by type.
|
![]() |
CountChildren(array<Int32>[]()[][]) |
Counts the children by type.
|
![]() |
Delete |
Put this post in trash can or, if already in, remove it from MagicCMS Database.
|
![]() |
GetAnswers(String) |
Gets the answers to messages.
|
![]() |
GetAnswers()()()() |
Gets the answers to messages by default order.
|
![]() |
GetAnswersByType |
Get answers or comments to a posts or messages (MagicPostCollection )
|
![]() ![]() |
GetByType(array<Int32>[]()[][], String, Boolean, Int32) |
Gets a collection of MagicPost by type.
|
![]() ![]() |
GetByType(array<Int32>[]()[][], array<String>[]()[][], String, Boolean, Int32) |
Gets a collection of MagicPost filtered by type and tags.
|
![]() ![]() |
GetByType(array<Int32>[]()[][], String, Boolean, Int32, Boolean, MagicSearchActive) |
Gets a collection of MagicPost filtered by type.
|
![]() ![]() |
GetByType(array<Int32>[]()[][], String, Boolean, Int32, Boolean, MagicSearchActive, Boolean) |
Gets a collection of MagicPost filtered by type.
|
![]() ![]() |
GetByType(array<Int32>[]()[][], String, Boolean, Int32, Boolean) |
Gets a collection of MagicPost filtered by type.
|
![]() ![]() |
GetByType(Int32, String) |
Gets a collection of MagicPost filtered by type.
|
![]() ![]() |
GetByType(Int32) |
Gets a collection of MagicPost filtered by type.
|
![]() ![]() |
GetByType(array<Int32>[]()[][]) |
Gets a collection of MagicPost filtered by type.
|
![]() |
GetChildren()()()() |
Gets a MagicPostCollection containing the post children.
|
![]() |
GetChildren(String, Int32) |
Gets a MagicPostCollection containing the post children.
|
![]() |
GetChildren(String, Int32, Boolean) |
Gets the MagicPostCollection of children of the Post.
|
![]() |
GetChildrenByDate |
Gets the MagicPostCollection of children of the Post filtered by publication date (DataPubblicazione).
|
![]() |
GetChildrenByType(array<Int32>[]()[][], String, Boolean, Int32) |
Gets the children of the post filtered by post type (Tipo).
|
![]() |
GetChildrenByType(array<Int32>[]()[][], String, Boolean, Int32, Boolean, MagicSearchActive) |
Gets the children of the post filtered by post type (Tipo).
|
![]() |
GetChildrenByType(array<Int32>[]()[][], String, Boolean, Int32, Boolean, MagicSearchActive, Boolean) |
Gets the children of the post filtered by post type (Tipo).
|
![]() |
GetChildrenByType(array<Int32>[]()[][], String, Boolean, Int32, Boolean) |
Gets the children of the post filtered by post type (Tipo).
|
![]() |
GetChildrenByType(Int32, String) |
Gets the children of the post filtered by post type (Tipo).
|
![]() |
GetChildrenByType(Int32) |
Gets the children of the post filtered by post type (Tipo).
|
![]() |
GetChildrenByType(array<Int32>[]()[][]) |
Gets the children of the post filtered by post type (Tipo).
|
![]() |
GetGrandSons(String, Int32) |
Gets the grand sons (children of children) of a post.
|
![]() |
GetGrandSons(String, Int32, Boolean) |
Gets the grand sons (children of children) of a post.
|
![]() |
GetGrandSonsByType(array<Int32>[]()[][], String, Boolean, Int32, Boolean) |
Gets the grand sons (children of children) of a post.
|
![]() |
GetGrandSonsByType(array<Int32>[]()[][], String, Boolean, Int32) |
Gets the grand sons (children of children) of a post.
|
![]() |
GetGrandSonsByType(Int32) |
Gets the grand sons (children of children) of a post.
|
![]() |
GetMediatVoti |
Retrieve the average rating assigned to the post.
|
![]() |
GetMiniaturePk(Int32, Int32, MagicPostWhichUrl) |
Gets the miniature of a post. Create miniature if it doesn't exist.
|
![]() |
GetMiniaturePk(Int32, Int32) |
Gets the miniature of a post. Create miniature if it doesn't exist.
|
![]() |
GetParents()()()() |
Gets parents of this post.
|
![]() |
GetParents(array<Int32>[]()[][]) |
Gets the parents of this Post Filtered by type.
|
![]() |
GetParents(array<Int32>[]()[][], String) |
Gets the parents of this Post Filtered by type.
|
![]() ![]() |
GetPostByParentType |
Gets MagicPost filtered by post type of its parents.
|
![]() |
GetRandomChild |
Gets a random child of the post.
|
![]() |
GetSiblings(String, array<Int32>[]()[][]) |
Gets the siblings posts (same parent) of current post.
|
![]() |
GetSiblings()()()() |
Gets the siblings posts (same parent) of current post.
|
![]() |
GetSiblings(String) |
Gets the siblings posts (same parent) of current post.
|
![]() |
GetSiblings(String, Int32) |
Gets the siblings posts (same parent) of current post.
|
![]() |
GetTestoBreveCustom |
Gets truncated and translated short text or description extracted from TestoBreve (if not empty)
or from TestoLungo
|
![]() |
GetVoti |
Retrieves the sum of the votes received by the post.
|
![]() |
HomePanel |
Returns a formatted panel (div) with an image and links to the post.
|
![]() |
Insert |
Inserts a new created MagicPost instance in MagicCMS database.
|
![]() |
IsLocalLink |
Determines whether the post is part of a monopage site (chile of an Home page Section).
|
![]() |
MergeContext | |
![]() ![]() |
SearchByKeyword(String, String) |
Get a collection of MagicPost by keyword.
|
![]() ![]() |
SearchByKeyword(array<String>[]()[][], String, Int32, Boolean, WhereClauseCollection) |
Get a collection of MagicPost by keyword.
|
![]() |
SetAnswerTo |
Set the post as un answer or a comment to an other post.
|
![]() |
UnDelete |
Undelete this post removing it from trash can.
|
![]() |
Update |
Save modified MagicPost instance in MagicCMS database.
|
Properties
Name | Description | |
---|---|---|
![]() |
Active |
Gets or sets the active flag of the Post.
|
![]() |
Altezza |
Gets or sets the altezza (height) field.
|
![]() |
AutoMiniaturePk |
Automatically generate a miniature (if it doesn't exits) and return miniature id (pk).
|
![]() |
Contenitore |
Gets the contenitore (container) flag.
|
![]() |
ContenutiPreferiti |
Gets the comma separated list of preferred children (in italian "contenuti preferiti") type ids.
|
![]() |
CustomClass |
Gets or sets the custom class.
|
![]() |
DataPubblicazione |
Gets or sets the publication date (in italian data di pubblicazione).
|
![]() |
DataScadenza |
Gets or sets the expiration date (in italian data di scadenza).
|
![]() |
DataUltimaModifica |
Gets or sets the last modification date (in italian data dell'ultima modifica).
|
![]() |
DisplayTitle |
Gets or sets the pretty title (Display Title). Alias for ExtraInfo1
|
![]() |
Gets or sets the email. (Alias for ExtraInfo2)
|
|
![]() |
ExtraInfo |
Gets or sets the extra information 0.
|
![]() |
ExtraInfo1 |
Gets or sets the Display Title (or Pretty Title).
|
![]() |
ExtraInfo2 |
Gets or sets the extra info2.
|
![]() |
ExtraInfo3 |
Gets or sets the extra info3.
|
![]() |
ExtraInfo4 |
Gets or sets the extra info4.
|
![]() |
ExtraInfo5 |
Gets or sets the extra info5.
|
![]() |
ExtraInfo6 |
Gets or sets the extra info6.
|
![]() |
ExtraInfo7 |
Gets or sets the extra info7.
|
![]() |
ExtraInfo8 |
Gets or sets the extra info8.
|
![]() |
ExtraInfoNumber1 |
Gets or sets the extra information number1.
|
![]() |
ExtraInfoNumber2 |
Gets or sets the extra information number2.
|
![]() |
ExtraInfoNumber3 |
Gets or sets the extra information number3.
|
![]() |
ExtraInfoNumber4 |
Gets or sets the extra information number4.
|
![]() |
ExtraInfoNumber5 |
Gets or sets the extra information number5.
|
![]() |
ExtraInfoNumber6 |
Gets or sets the extra information number6.
|
![]() |
ExtraInfoNumber7 |
Gets or sets the extra information number7.
|
![]() |
ExtraInfoNumber8 |
Gets or sets the extra information number8.
|
![]() |
FlagCancellazione |
Gets or sets the "deleted" flag (in italian deletion = cancellazione).
|
![]() |
FlagExtraInfo1 | |
![]() |
FlagExtraInfo2 | |
![]() |
FlagExtraInfo3 | |
![]() |
FlagExtraInfo4 | |
![]() |
Geolocazione |
Gets or sets the geo location (geolocazione in italian). (Alias for ExtraInfo)
|
![]() |
IconClass |
Gets or sets the icon class. (Alias for ExtraInfo5)
|
![]() |
Item |
Gets or sets a magic post property by property name.
|
![]() |
LabelExtraInfo1 | |
![]() |
LabelExtraInfo2 | |
![]() |
LabelExtraInfo3 | |
![]() |
LabelExtraInfo4 | |
![]() |
Larghezza |
Gets or sets the width (larghezza in italian).
|
![]() |
MapZoom |
Gets or sets the map zoom. (Alias for Altezza)
|
![]() |
MenuIcon |
Gets or sets the menu icon. (Alias for IconClass)
|
![]() |
MetaInfo | |
![]() |
Name |
Gets or sets the name. (Alias for Titolo)
|
![]() |
NomeExtraInfo | |
![]() |
NomeTipo |
Gets the Post Type name.
|
![]() |
OrderChildrenBy |
Gets or sets the order of post children collections. (Alias for ExtraInfo)
|
![]() |
Ordinamento |
Gets or sets the order (in italian ordinamento).
|
![]() |
Owner |
Gets or sets the owner.
|
![]() |
Parents |
Gets or sets the parents of the posts.
|
![]() |
Pk |
Gets or sets the pk (Unique id of the post).
|
![]() |
Preferred |
Gets the preferred id list.
|
![]() |
PreferredChildren |
Gets or sets the preferred children. (Alias for ExtraInfo2)
|
![]() |
Tags |
Gets or sets the tags.
|
![]() |
TestoBreve |
Gets or sets the testo breve.
|
![]() |
TestoBreve_RT |
Gets the Short Text of the post. If a translation exist for the post return the Short Text translation for the current language.
|
![]() |
TestoLungo |
Gets or sets the testo lungo.
|
![]() |
TestoLungo_RT |
Gets long text of the post. f a translation exist for the post return the Long Text translation for the current language.
|
![]() |
TestoNote_RT |
Gets the Short Text of the post. If a translation exist for the post return the Short Text translation for the current language.
|
![]() |
Tipo |
Gets or sets the post type (tipo in italian).
|
![]() |
Title_RT |
Gets the pretty title of the post. If a translation exist for the post return the title translation for the current language.
|
![]() |
Titolo |
Gets or sets the Post Title (titolo in italian).
|
![]() |
Translations |
Gets or sets the translations.
|
![]() |
TypeInfo |
Gets or sets the type information.
|
![]() |
Url |
Gets or sets the URL.
|
![]() |
Url2 |
Gets or sets the url2.
|