XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
commentItem Class Reference
Inheritance diagram for commentItem:
BaseObject

Public Member Functions

 __construct ($comment_srl=0, $columnList=array())
 
 setComment ($comment_srl)
 
 _loadFromDB ()
 
 setAttribute ($attribute)
 
 isExists ()
 
 isGranted ()
 
 setGrant ()
 
 setAccessible ()
 
 isEditable ()
 
 isSecret ()
 
 isAccessible ()
 
 useNotify ()
 
 notify ($type, $content)
 
 getIpAddress ()
 
 isExistsHomepage ()
 
 getHomepageUrl ()
 
 getMemberSrl ()
 
 getUserID ()
 
 getUserName ()
 
 getNickName ()
 
 getContentText ($strlen=0)
 
 getContent ($add_popup_menu=TRUE, $add_content_info=TRUE, $add_xe_content_class=TRUE)
 
 getSummary ($str_size=50, $tail= '...')
 
 getRegdate ($format= 'Y.m.d H:i:s')
 
 getRegdateTime ()
 
 getRegdateGM ()
 
 getUpdate ($format= 'Y.m.d H:i:s')
 
 getPermanentUrl ()
 
 getUpdateTime ()
 
 getUpdateGM ()
 
 hasUploadedFiles ()
 
 getUploadedFiles ()
 
 getEditor ()
 
 getProfileImage ()
 
 getSignature ()
 
 thumbnailExists ($width=80, $height=0, $type= '')
 
 getThumbnail ($width=80, $height=0, $thumbnail_type= '')
 
 isCarted ()
 
 getCommentMid ()
 
- Public Member Functions inherited from BaseObject
 __construct ($error=0, $message= 'success')
 
 setError ($error=0)
 
 getError ()
 
 setHttpStatusCode ($code= '200')
 
 getHttpStatusCode ()
 
 setMessage ($message= 'success', $type=NULL)
 
 getMessage ()
 
 add ($key, $val)
 
 adds ($object)
 
 get ($key)
 
 gets ()
 
 getVariables ()
 
 getObjectVars ()
 
 toBool ()
 
 toBoolean ()
 

Public Attributes

 $comment_srl = 0
 
 $columnList = array()
 
- Public Attributes inherited from BaseObject
 $error = 0
 
 $message = 'success'
 
 $variables = array()
 
 $httpStatusCode = NULL
 

Detailed Description

Definition at line 12 of file comment.item.php.

Constructor & Destructor Documentation

commentItem::__construct (   $comment_srl = 0,
  $columnList = array() 
)

Constructor

Parameters
int$comment_srl
array$columnList
Returns
void

Definition at line 33 of file comment.item.php.

Member Function Documentation

commentItem::_loadFromDB ( )

Load comment data from DB and set to commentItem object

Returns
void

Definition at line 50 of file comment.item.php.

commentItem::getCommentMid ( )

Returns the comment's mid in order to construct SEO friendly URLs

Returns
string

Definition at line 706 of file comment.item.php.

commentItem::getContent (   $add_popup_menu = TRUE,
  $add_content_info = TRUE,
  $add_xe_content_class = TRUE 
)

Return content after filter

Returns
string

Definition at line 306 of file comment.item.php.

commentItem::getContentText (   $strlen = 0)

Return content with htmlspecialchars

Returns
string

Definition at line 285 of file comment.item.php.

commentItem::getEditor ( )

Return the editor html

Returns
string

Definition at line 458 of file comment.item.php.

commentItem::getHomepageUrl ( )

Definition at line 245 of file comment.item.php.

commentItem::getIpAddress ( )

Definition at line 225 of file comment.item.php.

commentItem::getMemberSrl ( )

Definition at line 261 of file comment.item.php.

commentItem::getNickName ( )

Definition at line 276 of file comment.item.php.

commentItem::getPermanentUrl ( )

Definition at line 407 of file comment.item.php.

commentItem::getProfileImage ( )

Return author's profile image

Returns
object

Definition at line 473 of file comment.item.php.

commentItem::getRegdate (   $format = 'Y.m.d H:i:s')

Definition at line 380 of file comment.item.php.

commentItem::getRegdateGM ( )

Definition at line 397 of file comment.item.php.

commentItem::getRegdateTime ( )

Definition at line 385 of file comment.item.php.

commentItem::getSignature ( )

Return author's signiture

Returns
string

Definition at line 493 of file comment.item.php.

commentItem::getSummary (   $str_size = 50,
  $tail = '...' 
)

Return summary content

Returns
string

Definition at line 352 of file comment.item.php.

commentItem::getThumbnail (   $width = 80,
  $height = 0,
  $thumbnail_type = '' 
)

Definition at line 538 of file comment.item.php.

commentItem::getUpdate (   $format = 'Y.m.d H:i:s')

Definition at line 402 of file comment.item.php.

commentItem::getUpdateGM ( )

Definition at line 423 of file comment.item.php.

commentItem::getUpdateTime ( )

Definition at line 412 of file comment.item.php.

commentItem::getUploadedFiles ( )

Definition at line 437 of file comment.item.php.

commentItem::getUserID ( )

Definition at line 266 of file comment.item.php.

commentItem::getUserName ( )

Definition at line 271 of file comment.item.php.

commentItem::hasUploadedFiles ( )

Definition at line 428 of file comment.item.php.

commentItem::isAccessible ( )

Definition at line 151 of file comment.item.php.

commentItem::isCarted ( )

Definition at line 697 of file comment.item.php.

commentItem::isEditable ( )

Definition at line 137 of file comment.item.php.

commentItem::isExists ( )

Definition at line 89 of file comment.item.php.

commentItem::isExistsHomepage ( )

Definition at line 235 of file comment.item.php.

commentItem::isGranted ( )

Definition at line 94 of file comment.item.php.

commentItem::isSecret ( )

Definition at line 146 of file comment.item.php.

commentItem::notify (   $type,
  $content 
)

Notify to comment owner

Returns
void

Definition at line 184 of file comment.item.php.

commentItem::setAccessible ( )

Definition at line 132 of file comment.item.php.

commentItem::setAttribute (   $attribute)

Comment attribute set to BaseObject object

Returns
void

Definition at line 68 of file comment.item.php.

commentItem::setComment (   $comment_srl)

Definition at line 40 of file comment.item.php.

commentItem::setGrant ( )

Definition at line 126 of file comment.item.php.

commentItem::thumbnailExists (   $width = 80,
  $height = 0,
  $type = '' 
)

Definition at line 523 of file comment.item.php.

commentItem::useNotify ( )

Definition at line 175 of file comment.item.php.

Member Data Documentation

commentItem::$columnList = array()

Definition at line 25 of file comment.item.php.

commentItem::$comment_srl = 0

Definition at line 19 of file comment.item.php.


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