PHP 클래스 GBComments, gitblog

상속: extends GBContent, implements IteratorAggregate, implements Countable
파일 보기 프로젝트 열기: rsms/gitblog 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_countApproved
$_countApprovedTopo
$_countSpam
$_countTotal # these two are not serialized, but lazy-initialized by count()
$cachenamePrefix
$comments .]

공개 메소드들

메소드 설명
__construct ( $name = null, $id = null, $cachenamePrefix = null, $comments = null )
__sleep ( )
cachename ( )
count ( $c = null ) Recursively count how many comments are in the $comments member
countApproved ( $topological = true )
countShadowed ( ) Number of comments which are approved -- by their parent comments are not -- thus they are topologically speaking shadowed, or hidden.
countSpam ( )
countUnapproved ( $excluding_spam = true )
find ( $cachenamePrefix )
getIterator ( $onlyApproved = true ) # implementation of IteratorAggregate
reload ( $data, $commits )
toBlob ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $name = null, $id = null, $cachenamePrefix = null, $comments = null )

__sleep() 공개 메소드

public __sleep ( )

cachename() 공개 메소드

public cachename ( )

count() 공개 메소드

Recursively count how many comments are in the $comments member
public count ( $c = null )

countApproved() 공개 메소드

public countApproved ( $topological = true )

countShadowed() 공개 메소드

Number of comments which are approved -- by their parent comments are not -- thus they are topologically speaking shadowed, or hidden.
public countShadowed ( )

countSpam() 공개 메소드

public countSpam ( )

countUnapproved() 공개 메소드

public countUnapproved ( $excluding_spam = true )

find() 정적인 공개 메소드

static public find ( $cachenamePrefix )

getIterator() 공개 메소드

# implementation of IteratorAggregate
public getIterator ( $onlyApproved = true )

reload() 공개 메소드

public reload ( $data, $commits )

toBlob() 공개 메소드

public toBlob ( )

프로퍼티 상세

$_countApproved 공개적으로 프로퍼티

public $_countApproved

$_countApprovedTopo 공개적으로 프로퍼티

public $_countApprovedTopo

$_countSpam 공개적으로 프로퍼티

public $_countSpam

$_countTotal 공개적으로 프로퍼티

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

$cachenamePrefix 공개적으로 프로퍼티

public $cachenamePrefix

$comments 공개적으로 프로퍼티

.]
public $comments