src/Extensions/CommentsExtension.php
public function getCommentsRequireLogin()
    {
        if ($this->owner->getCommentsOption('require_login_cms')) {
            return (bool) $this->owner->getField('CommentsRequireLogin');
        }
        return (bool) $this->owner->getCommentsOption('require_login');
    }
public function getCommentsRequireLogin()
    {
        if ($this->owner->getCommentsOption('require_login_cms')) {
            return (bool) $this->owner->getField('CommentsRequireLogin');
        }
        return (bool) $this->owner->getCommentsOption('require_login');
    }
public function getCommentsRequireLogin ( ) { if ( $ this -> owner -> getCommentsOption ( 'require_login_cms' ) ) { return ( bool ) $ this -> owner -> getField ( 'CommentsRequireLogin' ) ; } return ( bool ) $ this -> owner -> getCommentsOption ( 'require_login' ) ; }
Determine if users must be logged in to post comments

@return boolean
Determine if users must be logged in to post comments