PHP Class PHPFusion\Comments

显示文件 Open project: php-fusion/PHP-Fusion

Public Methods

Method Description
__construct ( )
getInstance ( string $key = 'default' ) : static Get an instance by key
showComments ( $comment_type, $comment_db, $comment_col, $comment_item_id, $clink ) Display Comments

Private Methods

Method Description
format_clink ( $clink ) : string Removes comment reply

Method Details

__construct() public method

public __construct ( )

getInstance() public static method

Get an instance by key
public static getInstance ( string $key = 'default' ) : static
$key string
return static

showComments() public method

Display Comments
public showComments ( $comment_type, $comment_db, $comment_col, $comment_item_id, $clink )
$comment_type
$comment_db
$comment_col
$comment_item_id
$clink