/** * Indicates that the KS user is the owner of the entry * @return bool */ protected function isKsUserOwnsEntry() { return !$this->isKsWidget() && $this->ks && $this->entry && $this->entry->getKuserId() == $this->ks->getKuserId(); }