Notepad::canUpdateItem PHP 메소드

canUpdateItem() 공개 메소드

public canUpdateItem ( )
    function canUpdateItem()
    {
        if (isset($this->fields['itemtype']) && ($item = getItemForItemtype($this->fields['itemtype']))) {
            return Session::haveRight($item::$rightname, UPDATENOTE);
        }
        return false;
    }