Standards  1.0
iCommentSystem_Comment Interface Reference

The comment entity for CommentSystem. More...

Public Member Functions

 setBody ($content)
 
 getBody ()
 
 getEntity ()
 
 setEntity ($ent)
 
 getDatePosted ()
 
 setUser ($userId)
 
 getUser ()
 

Static Public Member Functions

static getRawView ($injections, $level=1)
 

Data Fields

const iType = "Comment"
 
const iShort = "c"
 
const iParent = "iCommentSystem"
 

Detailed Description

The comment entity for CommentSystem.

Tokens:

  • "<": Sorts from higest to lowest or newest to oldest.
    • Allowed values:
      • string time
  • ">": Sorts from lowest to higest or oldest to newest.
    • Allowed values:
      • string time
  • ";": Not true checker.
    • Allowed values:
      • string viewed
      • string dismissed
  • "~": Is true checker.
    • Allowed values:
      • string viewed
      • string dismissed
  • "#": Search for an id.
    • Allowed values:
      • int Any int id(1, 6236, ect.).
  • "=": pair([array of 2]) Checks if the column(first value) value is = to the second value.

Member Function Documentation

static getRawView (   $injections,
  $level = 1 
)
static
Returns
View object with the $injections injected.

Levels:

  • 1 normal: The normal horizontal comment display
    • Rows:
      • "body"
      • "date"
      • "user"
    • Injections:
      • "action": An area for actions(buttons) to go.
      • "user": Under the user block.
getUser ( )
Returns
User id

The documentation for this interface was generated from the following file: