- Properties
- AddPollItem
- ClearPollItems
- ContentHtml
- Copy
- CopyPollDataFrom
- GetBool
- GetCurrentRelated
- GetDateTime
- GetExtendedAttribute
- GetInt
- GetPollItems
- GetSerializedXml
- GetSerializerData
- GetString
- RemovePollItem
- RenderedBody
- SetExtendedAttribute
- SetPostMedia
- SetSerializedXml
- SetSerializerData
- SetSubjectRaw
- TitleHtml
- UpdatePollItem
Properties
Name | Access | Type | Description |
---|---|---|---|
AnswerSuggestedByUserId | Read, Write | Int32 | Answer Suggested By User Id |
AnswerVerifiedByUserId | Read, Write | Int32 | Answer Verified By User Id |
ApiContentType | Read | Nullable of Guid | Api Content Type |
ApplicationId | Read | Guid | Application Id |
ApplicationType | Read | ApplicationType | Application Type |
ApplicationTypeId | Read | Guid | Application Type Id |
Attachment | Read, Write | IAttachment | Attachment |
AttachmentFilename | Read, Write | String | Attachment Filename |
AttachmentKey | Read | AttachmentKey | Attachment Key |
Body | Read, Write | String | Body |
Categories | Read, Write | Array of String | Categories |
ChildCount | Read, Write | Nullable of Int32 | Child Count |
Container | Read | IContentContainer | Container |
ContentID | Read, Write | Guid | Content I D |
ContentTypeId | Read | Int32 | Content Type Id |
Date | Read | DateTime | Date |
EditNotes | Read, Write | String | Edit Notes |
EffectiveDepth | Read, Write | Nullable of Int32 | Effective Depth |
EmoticonID | Read, Write | Int32 | Emoticon I D |
Excerpt | Read, Write | String | Excerpt |
ExtendedAttributesCount | Read | Int32 | Extended Attributes Count |
ExtendedAttributesKeys | Read | Array of String | Extended Attributes Keys |
FeaturedImage | Read | String | Featured Image |
ForceExcerpt | Read | String | Force Excerpt |
FormattedBody | Read, Write | String | Formatted Body |
Forum | Read, Write | Forum | Forum |
HasAttachment | Read | Boolean | Has Attachment |
HasCategories | Read | Boolean | Has Categories |
HasExcerpt | Read | Boolean | Has Excerpt |
HasInk | Read | Boolean | Has Ink |
HasName | Read | Boolean | Has Name |
HasPoll | Read, Write | Boolean | Has Poll |
HasRead | Read, Write | Boolean | Has Read |
HasVideo | Read | Boolean | Has Video |
IndexInThread | Read, Write | Int32 | Index In Thread |
InkID | Read, Write | Int32 | Ink I D |
IsAnonymousPost | Read, Write | Boolean | Is Anonymous Post |
IsApproved | Read, Write | Boolean | Is Approved |
IsDeleted | Read, Write | Boolean | Is Deleted |
IsFeatured | Read | Boolean | Is Featured |
IsHidden | Read, Write | Boolean | Is Hidden |
IsIgnoredPost | Read, Write | Boolean | Is Ignored Post |
IsIndexed | Read, Write | Boolean | Is Indexed |
IsLocked | Read, Write | Boolean | Is Locked |
IsReadOnly | Read | Boolean | Is Read Only |
IsTracked | Read, Write | Boolean | Is Tracked |
LastReadDate | Read, Write | DateTime | Last Read Date |
Name | Read, Write | String | Name |
NextSiblingCount | Read, Write | Nullable of Int32 | Next Sibling Count |
NodeId | Read | Guid | Node Id |
ParentID | Read, Write | Int32 | Parent I D |
Points | Read, Write | Int32 | Points |
PollDescription | Read, Write | String | Poll Description |
PollExpirationDate | Read, Write | DateTime | Poll Expiration Date |
PollItemIndexes | Read, Write | String | Poll Item Indexes |
PollTitle | Read, Write | String | Poll Title |
PostConfiguration | Read, Write | PostConfiguration | Post Configuration |
PostDate | Read, Write | DateTime | Post Date |
PostID | Read, Write | Int32 | Post I D |
PostLevel | Read, Write | Int32 | Post Level |
PostMedia | Read, Write | PostMediaType | Post Media |
PostStatus | Read, Write | PostStatus | Post Status |
PostType | Read, Write | PostContentType | Post Type |
PreviousSiblingCount | Read, Write | Nullable of Int32 | Previous Sibling Count |
QualityNoVotes | Read, Write | Int32 | Quality No Votes |
QualityScore | Read, Write | Int32 | Quality Score |
QualityYesVotes | Read, Write | Int32 | Quality Yes Votes |
RatingAverage | Read | Double | Rating Average |
Ratings | Read | IList | Ratings |
RatingSum | Read, Write | Int32 | Rating Sum |
Replies | Read, Write | Int32 | Replies |
RootReplyId | Read, Write | Guid | Root Reply Id |
Section | Read, Write | Section | Section |
SectionID | Read, Write | Int32 | Section I D |
SortOrder | Read, Write | Int32 | Sort Order |
SpamScore | Read, Write | Int32 | Spam Score |
SpamStatus | Read, Write | SpamStatus | Spam Status |
Stub | Read | String | Stub |
Subject | Read, Write | String | Subject |
ThreadDate | Read, Write | DateTime | Thread Date |
ThreadID | Read, Write | Int32 | Thread I D |
ThreadIDNext | Read, Write | Int32 | Thread I D Next |
ThreadIDPrev | Read, Write | Int32 | Thread I D Prev |
ThreadStartDate | Read, Write | DateTime | Thread Start Date |
TotalQualityVotes | Read, Write | Int32 | Total Quality Votes |
TotalRatings | Read, Write | Int32 | Total Ratings |
Uri | Read | Uri | Uri |
User | Read | User | User |
UserHostAddress | Read, Write | String | User Host Address |
UserID | Read, Write | Int32 | User I D |
UserTime | Read, Write | DateTime | User Time |
VideoContentType | Read | String | Video Content Type |
VideoDuration | Read, Write | String | Video Duration |
VideoFileFormat | Read | String | Video File Format |
VideoHeight | Read, Write | Int32 | Video Height |
VideoImageUrl | Read, Write | String | Video Image Url |
VideoUrl | Read, Write | String | Video Url |
VideoWidth | Read, Write | Int32 | Video Width |
Views | Read, Write | Int32 | Views |
Methods
AddPollItem
Velocity
$forumPost.AddPollItem($item)
JavaScript
forumPost.AddPollItem(item);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
item | PollItem | Item | Required |
Returns
NothingClearPollItems
Velocity
$forumPost.ClearPollItems()
JavaScript
forumPost.ClearPollItems();
Returns
NothingContentHtml
Velocity
#set($stringResponse = $forumPost.ContentHtml($target))
JavaScript
var stringResponse = forumPost.ContentHtml(target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | PostTarget | Target | Required |
Returns
String
Copy
Copy Overload 1
Velocity
#set($objectResponse = $forumPost.Copy())
JavaScript
var objectResponse = forumPost.Copy();
Copy Overload 2
Velocity
#set($objectResponse = $forumPost.Copy())
JavaScript
var objectResponse = forumPost.Copy();
Returns
Object
CopyPollDataFrom
Velocity
$forumPost.CopyPollDataFrom($p)
JavaScript
forumPost.CopyPollDataFrom(p);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
p | Post | P | Required |
Returns
NothingGetBool
Velocity
#set($booleanResponse = $forumPost.GetBool($name, $defaultValue))
JavaScript
var booleanResponse = forumPost.GetBool(name, defaultValue);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | String | Name | Required | ||
defaultValue | Boolean | Default Value | Required |
Returns
Boolean
GetCurrentRelated
Velocity
#set($booleanResponse = $forumPost.GetCurrentRelated($relatedObject))
JavaScript
var booleanResponse = forumPost.GetCurrentRelated(relatedObject);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
relatedObject | T& | Related Object | Required |
Returns
Boolean
GetDateTime
Velocity
#set($dateTimeResponse = $forumPost.GetDateTime($name, $defaultValue))
JavaScript
var dateTimeResponse = forumPost.GetDateTime(name, defaultValue);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | String | Name | Required | ||
defaultValue | DateTime | Default Value | Required |
Returns
DateTime
GetExtendedAttribute
Velocity
#set($stringResponse = $forumPost.GetExtendedAttribute($name))
JavaScript
var stringResponse = forumPost.GetExtendedAttribute(name);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | String | Name | Required |
Returns
String
GetInt
Velocity
#set($int32Response = $forumPost.GetInt($name, $defaultValue))
JavaScript
var int32Response = forumPost.GetInt(name, defaultValue);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | String | Name | Required | ||
defaultValue | Int32 | Default Value | Required |
Returns
Int32
GetPollItems
Velocity
#set($listResponse = $forumPost.GetPollItems())
JavaScript
var listResponse = forumPost.GetPollItems();
Returns
List of PollItem
GetSerializedXml
Velocity
#set($stringResponse = $forumPost.GetSerializedXml($asNameValueAttributes))
JavaScript
var stringResponse = forumPost.GetSerializedXml(asNameValueAttributes);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
asNameValueAttributes | Boolean | As Name Value Attributes | Required |
Returns
String
GetSerializerData
Velocity
#set($serializerDataResponse = $forumPost.GetSerializerData())
JavaScript
var serializerDataResponse = forumPost.GetSerializerData();
Returns
GetString
Velocity
#set($stringResponse = $forumPost.GetString($name, $defaultValue))
JavaScript
var stringResponse = forumPost.GetString(name, defaultValue);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | String | Name | Required | ||
defaultValue | String | Default Value | Required |
Returns
String
RemovePollItem
Velocity
#set($pollItemResponse = $forumPost.RemovePollItem($item))
JavaScript
var pollItemResponse = forumPost.RemovePollItem(item);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
item | PollItem | Item | Required |
Returns
RenderedBody
Velocity
#set($stringResponse = $forumPost.RenderedBody($target))
JavaScript
var stringResponse = forumPost.RenderedBody(target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | PostTarget | Target | Required |
Returns
String
SetExtendedAttribute
Velocity
$forumPost.SetExtendedAttribute($name, $value)
JavaScript
forumPost.SetExtendedAttribute(name, value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | String | Name | Required | ||
value | String | Value | Required |
Returns
NothingSetPostMedia
Velocity
$forumPost.SetPostMedia($pm, $isSelected)
JavaScript
forumPost.SetPostMedia(pm, isSelected);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
pm | PostMediaType | Pm | Required | ||
isSelected | Boolean | Is Selected | Required |
Returns
NothingSetSerializedXml
Velocity
$forumPost.SetSerializedXml($xml)
JavaScript
forumPost.SetSerializedXml(xml);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
xml | String | Xml | Required |
Returns
NothingSetSerializerData
Velocity
$forumPost.SetSerializerData($data)
JavaScript
forumPost.SetSerializerData(data);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
data | SerializerData | Data | Required |
Returns
NothingSetSubjectRaw
Velocity
$forumPost.SetSubjectRaw($newSubject)
JavaScript
forumPost.SetSubjectRaw(newSubject);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
newSubject | String | New Subject | Required |
Returns
NothingTitleHtml
Velocity
#set($stringResponse = $forumPost.TitleHtml($target))
JavaScript
var stringResponse = forumPost.TitleHtml(target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | PostTarget | Target | Required |
Returns
String
UpdatePollItem
Velocity
$forumPost.UpdatePollItem($item)
JavaScript
forumPost.UpdatePollItem(item);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
item | PollItem | Item | Required |