You are here

public function SearchApiSavedSearch::user in Search API Saved Searches 7

Return value

The user that owns this saved search.

File

./search_api_saved_searches.search_entity.inc, line 145
Contains the entity class for saved searches.

Class

SearchApiSavedSearch
Class representing "Saved searches" settings.

Code

public function user() {
  if (!isset($this->user)) {
    $this->user = user_load($this->uid);
  }
  return $this->user;
}