src/Controllers/CommentingController.php
public function CommentsForm()
    {
        $form = Injector::inst()->create(CommentForm::class, __FUNCTION__, $this);

        // hook to allow further extensions to alter the comments form
        $this->extend('alterCommentForm', $form);

        return $form;
    }
public function CommentsForm()
    {
        $form = Injector::inst()->create(CommentForm::class, __FUNCTION__, $this);

        // hook to allow further extensions to alter the comments form
        $this->extend('alterCommentForm', $form);

        return $form;
    }
public function CommentsForm ( ) { $ form = Injector :: inst ( ) -> create ( CommentForm :: class , __FUNCTION__ , $ this ) ; // hook to allow further extensions to alter the comments form $ this -> extend ( 'alterCommentForm' , $ form ) ; return $ form ; }
Post a comment form

@return Form
Post a comment form