src/Extensions/CommentsExtension.php
public function canModerateComments($member = null)
    {
        // Deny if not enabled for this object
        if (!$this->owner->CommentsEnabled) {
            return false;
        }

        // Fallback to can-edit
        return $this->owner->canEdit($member);
    }
public function canModerateComments($member = null)
    {
        // Deny if not enabled for this object
        if (!$this->owner->CommentsEnabled) {
            return false;
        }

        // Fallback to can-edit
        return $this->owner->canEdit($member);
    }
public function canModerateComments ( $ member = null ) { // Deny if not enabled for this object if ( ! $ this -> owner -> CommentsEnabled ) { return false ; } // Fallback to can-edit return $ this -> owner -> canEdit ( $ member ) ; }
Determine if this member can moderate comments in the CMS

@param Member $member

@return boolean
Determine if this member can moderate comments in the CMS