Class yeesoft\comments\models\CommentQuery

Inheritanceyeesoft\comments\models\CommentQuery » yii\db\ActiveQuery

This is the ActiveQuery class for yeesoft\comments\models\Comment.

See also yeesoft\comments\models\Comment.

Method Details

active() public method

public void active ( )
all() public method

public yeesoft\comments\models\Comment[]|array all ( $db null )
$db
buildCommentsHierarchy() protected method

protected void buildCommentsHierarchy ( $comments )
$comments
getLoadComments() public method

public void getLoadComments ( )
getSubComments() protected static method

protected static void getSubComments ( $parent, $comments )
$parent
$comments
one() public method

public yeesoft\comments\models\Comment|array|null one ( $db null )
$db
setLoadComments() public method

public void setLoadComments ( $loadComments )
$loadComments