public function getEditor() { if ($this->editorId) { return craft()->users->getUserById($this->editorId); } }