CWIS Developer Documentation
|
Factory for manipulating saved search objects. More...
Public Member Functions | |
__construct () | |
GetSearchesForUser ($UserId) | |
GetSearchesDueToRun () | |
GetSearchCount () | |
GetSearchUserCount () | |
![]() | |
ItemFactory ($ItemClassName, $ItemTableName, $ItemIdFieldName, $ItemNameFieldName=NULL, $FieldId=NULL, $OrderOpsAllowed=FALSE) | |
Status () | |
GetCurrentEditedItemId () | |
SetCurrentEditedItemId ($NewId) | |
ClearCurrentEditedItemId () | |
ClearCurrentEditedItem () | |
CleanOutStaleTempItems ($MinutesUntilStale=10080) | |
Clear out (call the Delete() method) for any temp items more than specified number of minutes old. | |
GetLastTempItemId () | |
GetNextItemId () | |
GetHighestItemId ($Condition=NULL, $IncludeTempItems=FALSE) | |
GetNextTempItemId () | |
GetItemCount ($Condition=NULL, $IncludeTempItems=FALSE) | |
GetItemIds ($Condition=NULL, $IncludeTempItems=FALSE) | |
GetLatestModificationDate ($Condition=NULL) | |
GetItem ($ItemId) | |
ItemExists ($ItemId) | |
Check that item exists with specified ID. | |
GetItemByName ($Name, $IgnoreCase=FALSE) | |
GetItemNames ($SqlCondition=NULL) | |
Retrieve item names. | |
GetItems ($SqlCondition=NULL) | |
Retrieve items. | |
GetItemsAsOptionList ($OptionListName, $SelectedItemId=NULL, $SqlCondition=NULL, $DisplaySize=1, $SubmitOnChange=FALSE) | |
Retrieve items of specified type as HTML option list with item names as labels and item IDs as value attributes. | |
NameIsInUse ($Name, $IgnoreCase=FALSE) | |
Check whether item name is currently in use. | |
SearchForItemNames ($SearchString, $NumberOfResults=100, $IncludeVariants=FALSE, $UseBooleanMode=TRUE, $Offset=0) | |
GetCountForItemNames ($SearchString, $IncludeVariants=FALSE, $UseBooleanMode=TRUE) | |
AddItems ($ItemNames, $Qualifier=NULL) | |
add items with specified names | |
AddItem ($ItemName, $AdditionalValues=NULL) | |
Add new item. | |
DeleteItem ($ItemId) | |
Delete item. | |
SetOrderOpsCondition ($Condition) | |
InsertBefore ($SourceItemOrItemId, $TargetItemOrItemId) | |
InsertAfter ($SourceItemOrItemId, $TargetItemOrItemId) | |
Prepend ($ItemOrItemId) | |
Append ($ItemOrItemId) | |
GetItemIdsInOrder ($AddStrayItemsToOrder=TRUE) | |
RemoveItemFromOrder ($ItemId) | |
Additional Inherited Members | |
![]() | |
$DB | |
$FieldId | |
Factory for manipulating saved search objects.
Definition at line 14 of file SavedSearchFactory.php.
SavedSearchFactory::__construct | ( | ) |
Definition at line 19 of file SavedSearchFactory.php.
References ItemFactory\ItemFactory().
SavedSearchFactory::GetSearchCount | ( | ) |
Definition at line 88 of file SavedSearchFactory.php.
SavedSearchFactory::GetSearchesDueToRun | ( | ) |
Definition at line 47 of file SavedSearchFactory.php.
References SavedSearch\SEARCHFREQ_BIWEEKLY, SavedSearch\SEARCHFREQ_DAILY, SavedSearch\SEARCHFREQ_HOURLY, SavedSearch\SEARCHFREQ_MONTHLY, SavedSearch\SEARCHFREQ_QUARTERLY, SavedSearch\SEARCHFREQ_WEEKLY, and SavedSearch\SEARCHFREQ_YEARLY.
SavedSearchFactory::GetSearchesForUser | ( | $UserId | ) |
Definition at line 25 of file SavedSearchFactory.php.
SavedSearchFactory::GetSearchUserCount | ( | ) |
Definition at line 94 of file SavedSearchFactory.php.