PHP 클래스 GBComment, gitblog

Accessible from GBComments Managed through GBCommentDB
파일 보기 프로젝트 열기: rsms/gitblog

공개 프로퍼티들

프로퍼티 타입 설명
$_countApproved
$_countApprovedTopo
$_countTotal * these two are not serialized, but lazy-initialized by GBComments::count()
$allowedTags Allowed tags, primarily used by GBFilter but here so that themes and other stuff can read it.
$approved
$body
$comments
$date
$email
$id String id (indexpath), available during iteration, etc.
$ipAddress
$name
$post GBExposedContent set when appropriate. Might be null.
$spam # members below are only serialized when non-null
$type
$uri

공개 메소드들

메소드 설명
__construct ( $state = [] )
__sleep ( )
_bounceURL ( $relpath, $post = null, $include_referrer = true )
_post ( $post = null )
append ( GBComment $comment )
approveURL ( $post = null, $include_referrer = true )
avatarURL ( $size = 48, $fallback_url = '' )
body ( )
commentURL ( $post = null )
commentsObject ( $post = null )
duplicate ( GBComment $other )
gitAuthor ( )
hamURL ( $post = null, $include_referrer = true )
nameLink ( $attrs = '' )
removeURL ( $post = null, $include_referrer = true )
spamURL ( $post = null, $include_referrer = true )
textBody ( )
unapproveURL ( $post = null, $include_referrer = true )

메소드 상세

__construct() 공개 메소드

public __construct ( $state = [] )

__sleep() 공개 메소드

public __sleep ( )

_bounceURL() 공개 메소드

public _bounceURL ( $relpath, $post = null, $include_referrer = true )

_post() 공개 메소드

public _post ( $post = null )

append() 공개 메소드

public append ( GBComment $comment )
$comment GBComment

approveURL() 공개 메소드

public approveURL ( $post = null, $include_referrer = true )

avatarURL() 공개 메소드

public avatarURL ( $size = 48, $fallback_url = '' )

body() 공개 메소드

public body ( )

commentURL() 공개 메소드

public commentURL ( $post = null )

commentsObject() 공개 메소드

public commentsObject ( $post = null )

duplicate() 공개 메소드

public duplicate ( GBComment $other )
$other GBComment

gitAuthor() 공개 메소드

public gitAuthor ( )

hamURL() 공개 메소드

public hamURL ( $post = null, $include_referrer = true )

removeURL() 공개 메소드

public removeURL ( $post = null, $include_referrer = true )

spamURL() 공개 메소드

public spamURL ( $post = null, $include_referrer = true )

textBody() 공개 메소드

public textBody ( )

unapproveURL() 공개 메소드

public unapproveURL ( $post = null, $include_referrer = true )

프로퍼티 상세

$_countApproved 공개적으로 프로퍼티

public $_countApproved

$_countApprovedTopo 공개적으로 프로퍼티

public $_countApprovedTopo

$_countTotal 공개적으로 프로퍼티

* these two are not serialized, but lazy-initialized by GBComments::count()
public $_countTotal

$allowedTags 공개적으로 정적으로 프로퍼티

Allowed tags, primarily used by GBFilter but here so that themes and other stuff can read it.
public static $allowedTags

$approved 공개적으로 프로퍼티

public $approved

$body 공개적으로 프로퍼티

public $body

$comments 공개적으로 프로퍼티

public $comments

$date 공개적으로 프로퍼티

public $date

$email 공개적으로 프로퍼티

public $email

$id 공개적으로 프로퍼티

String id (indexpath), available during iteration, etc.
public $id

$ipAddress 공개적으로 프로퍼티

public $ipAddress

$name 공개적으로 프로퍼티

public $name

$post 공개적으로 프로퍼티

GBExposedContent set when appropriate. Might be null.
public $post

$spam 공개적으로 프로퍼티

# members below are only serialized when non-null
public $spam

$type 공개적으로 프로퍼티

public $type

$uri 공개적으로 프로퍼티

public $uri