ZBlogPHP::GetCommentList PHP Method

GetCommentList() public method

public GetCommentList ( null $select = null, null $where = null, null $order = null, null $limit = null, null $option = null ) : array
$select null
$where null
$order null
$limit null
$option null
return array
    public function GetCommentList($select = null, $where = null, $order = null, $limit = null, $option = null)
    {
        if (empty($select)) {
            $select = array('*');
        }
        $sql = $this->db->sql->Select($this->table['Comment'], $select, $where, $order, $limit, $option);
        $array = $this->GetListType('Comment', $sql);
        foreach ($array as $comment) {
            $this->comments[$comment->ID] = $comment;
        }
        return $array;
    }
ZBlogPHP