Param 'commentNeedApproval' on the Blog tutorial

Hi guys,

On the Blog tutorial, Creating and Displaying comments chapter. In Post model, addComment function there is code like below

[font=“Courier New”]if(Yii::app()->params[‘commentNeedApproval’])[/font]

my question is, what is that param? is it from the create comment form?


No it’s defined via config file. Check out this wiki: