Public Member Functions | |
| SavedSearch ($SearchId, $SearchName=NULL, $UserId=NULL, $Frequency=NULL, $SearchGroups=NULL) | |
| SearchGroups ($NewSearchGroups=NULL) | |
| SearchName ($NewValue=DB_NOVALUE) | |
| GetSearchId () | |
| UserId ($NewValue=DB_NOVALUE) | |
| Frequency ($NewValue=DB_NOVALUE) | |
| UpdateDateLastRun () | |
| DateLastRun ($NewValue=DB_NOVALUE) | |
| TranslateSearchGroupsToUrlParameters ($SearchGroups=NULL) | |
| TranslateUrlParametersToSearchGroups ($GetVars) | |
| GetSearchGroupsAsTextDescription ($SearchGroups=NULL, $IncludeHtml=TRUE, $StartWithBreak=TRUE, $TruncateLongWordsTo=0) | |
| GetSearchFieldNames ($SuppliedSearchGroups=NULL) | |
| Delete () | |
Static Public Member Functions | |
| static | GetSearchFrequencyList () |
| static | TranslateValues ($FieldOrFieldName, $Values, $TranslationType) |
Public Attributes | |
| const | SEARCHFREQ_NEVER = 0 |
| const | SEARCHFREQ_HOURLY = 1 |
| const | SEARCHFREQ_DAILY = 2 |
| const | SEARCHFREQ_WEEKLY = 3 |
| const | SEARCHFREQ_BIWEEKLY = 4 |
| const | SEARCHFREQ_MONTHLY = 5 |
| const | SEARCHFREQ_QUARTERLY = 6 |
| const | SEARCHFREQ_YEARLY = 7 |
| $SearchId | |
| $Record | |
| $SearchGroups | |
Definition at line 33 of file SavedSearch.php.
| SavedSearch::DateLastRun | ( | $ | NewValue = DB_NOVALUE |
) |
Definition at line 255 of file SavedSearch.php.
| SavedSearch::Delete | ( | ) |
Definition at line 648 of file SavedSearch.php.
| SavedSearch::Frequency | ( | $ | NewValue = DB_NOVALUE |
) |
Definition at line 242 of file SavedSearch.php.
| SavedSearch::GetSearchFieldNames | ( | $ | SuppliedSearchGroups = NULL |
) |
| static SavedSearch::GetSearchFrequencyList | ( | ) | [static] |
Definition at line 620 of file SavedSearch.php.
| SavedSearch::GetSearchGroupsAsTextDescription | ( | $ | SearchGroups = NULL, |
|
| $ | IncludeHtml = TRUE, |
|||
| $ | StartWithBreak = TRUE, |
|||
| $ | TruncateLongWordsTo = 0 | |||
| ) |
Definition at line 434 of file SavedSearch.php.
References $SearchGroups, SearchGroups(), and TranslateValues().
| SavedSearch::GetSearchId | ( | ) |
Definition at line 229 of file SavedSearch.php.
| SavedSearch::SavedSearch | ( | $ | SearchId, | |
| $ | SearchName = NULL, |
|||
| $ | UserId = NULL, |
|||
| $ | Frequency = NULL, |
|||
| $ | SearchGroups = NULL | |||
| ) |
Definition at line 46 of file SavedSearch.php.
References $SearchGroups, $SearchId, SearchGroups(), and SearchName().
| SavedSearch::SearchGroups | ( | $ | NewSearchGroups = NULL |
) |
Definition at line 95 of file SavedSearch.php.
References $Record, $SearchGroups, SearchEngine::SEARCHLOGIC_AND, SearchEngine::SEARCHLOGIC_OR, and TranslateValues().
Referenced by GetSearchFieldNames(), GetSearchGroupsAsTextDescription(), SavedSearch(), TranslateSearchGroupsToUrlParameters(), and TranslateUrlParametersToSearchGroups().

| SavedSearch::SearchName | ( | $ | NewValue = DB_NOVALUE |
) |
Definition at line 222 of file SavedSearch.php.
Referenced by SavedSearch().

| SavedSearch::TranslateSearchGroupsToUrlParameters | ( | $ | SearchGroups = NULL |
) |
Definition at line 264 of file SavedSearch.php.
References $SearchGroups, SearchGroups(), and TranslateValues().
| SavedSearch::TranslateUrlParametersToSearchGroups | ( | $ | GetVars | ) |
Definition at line 355 of file SavedSearch.php.
References $SearchGroups, SearchGroups(), SearchEngine::SEARCHLOGIC_AND, SearchEngine::SEARCHLOGIC_OR, and TranslateValues().
| static SavedSearch::TranslateValues | ( | $ | FieldOrFieldName, | |
| $ | Values, | |||
| $ | TranslationType | |||
| ) | [static] |
Definition at line 670 of file SavedSearch.php.
References MetadataSchema::MDFTYPE_FLAG, MetadataSchema::MDFTYPE_NUMBER, MetadataSchema::MDFTYPE_OPTION, and MetadataSchema::MDFTYPE_USER.
Referenced by GetSearchGroupsAsTextDescription(), SearchGroups(), TranslateSearchGroupsToUrlParameters(), and TranslateUrlParametersToSearchGroups().

| SavedSearch::UpdateDateLastRun | ( | ) |
Definition at line 249 of file SavedSearch.php.
| SavedSearch::UserId | ( | $ | NewValue = DB_NOVALUE |
) |
Definition at line 235 of file SavedSearch.php.
| SavedSearch::$Record |
| SavedSearch::$SearchGroups |
Definition at line 660 of file SavedSearch.php.
Referenced by GetSearchFieldNames(), GetSearchGroupsAsTextDescription(), SavedSearch(), SearchGroups(), TranslateSearchGroupsToUrlParameters(), and TranslateUrlParametersToSearchGroups().
| SavedSearch::$SearchId |
| const SavedSearch::SEARCHFREQ_BIWEEKLY = 4 |
Definition at line 40 of file SavedSearch.php.
Referenced by SavedSearchFactory::GetSearchesDueToRun().
| const SavedSearch::SEARCHFREQ_DAILY = 2 |
Definition at line 38 of file SavedSearch.php.
Referenced by SavedSearchFactory::GetSearchesDueToRun().
| const SavedSearch::SEARCHFREQ_HOURLY = 1 |
Definition at line 37 of file SavedSearch.php.
Referenced by SavedSearchFactory::GetSearchesDueToRun().
| const SavedSearch::SEARCHFREQ_MONTHLY = 5 |
Definition at line 41 of file SavedSearch.php.
Referenced by SavedSearchFactory::GetSearchesDueToRun().
| const SavedSearch::SEARCHFREQ_NEVER = 0 |
Definition at line 36 of file SavedSearch.php.
| const SavedSearch::SEARCHFREQ_QUARTERLY = 6 |
Definition at line 42 of file SavedSearch.php.
Referenced by SavedSearchFactory::GetSearchesDueToRun().
| const SavedSearch::SEARCHFREQ_WEEKLY = 3 |
Definition at line 39 of file SavedSearch.php.
Referenced by SavedSearchFactory::GetSearchesDueToRun().
| const SavedSearch::SEARCHFREQ_YEARLY = 7 |
Definition at line 43 of file SavedSearch.php.
Referenced by SavedSearchFactory::GetSearchesDueToRun().