Newscoop\Entity\Comment\Preference\Article::setLocked PHP 메소드

setLocked() 공개 메소드

Set the flag if the comments are enabled or not
public setLocked ( $p_locked ) : Article
리턴 Article
    public function setLocked($p_locked)
    {
        $this->locked = $p_locked;
        // return this for chaining mechanism
        return $this;
    }

Usage Example

 public function setLocked($p_locked)
 {
     $this->__load();
     return parent::setLocked($p_locked);
 }