public function hasHtmlOutput()
    {
        if ($this->currentUser->getUserId() == \Gems_User_UserLoader::SYSTEM_USER_ID) {
            $this->addMessage($this->getNotAllowedMessage());
            return false;
        }

        return parent::hasHtmlOutput();
    }
public function hasHtmlOutput()
    {
        if ($this->currentUser->getUserId() == \Gems_User_UserLoader::SYSTEM_USER_ID) {
            $this->addMessage($this->getNotAllowedMessage());
            return false;
        }

        return parent::hasHtmlOutput();
    }
public function hasHtmlOutput ( ) { if ( $ this -> currentUser -> getUserId ( ) == \ Gems_User_UserLoader :: SYSTEM_USER_ID ) { $ this -> addMessage ( $ this -> getNotAllowedMessage ( ) ) ; return false ; } return parent :: hasHtmlOutput ( ) ; }
If the current user is the system user, present a message and don't allow to edit

@return boolean
If the current user is the system user present a message and don t allow to edit