PHP Class Blog\Controller\IndexController

Inheritance: extends think\Controller
Show file Open project: gotcms/gotcms

Protected Properties

Property Type Description
$whiteList array Fields white list

Public Methods

Method Description
documentCommentAction ( ) : array List all comment by document id
indexAction ( ) : array Index action, list all documents with comments

Method Details

documentCommentAction() public method

List all comment by document id
public documentCommentAction ( ) : array
return array

indexAction() public method

Index action, list all documents with comments
public indexAction ( ) : array
return array

Property Details

$whiteList protected property

Fields white list
protected array $whiteList
return array