Метод | Описание | |
---|---|---|
alertExists ( $itemtype = '', $items_id = '', $type = '' ) : integer | ||
cleanDBonItemDelete ( $itemtype, $ID ) : boolean | Clear all alerts for an item | |
clear ( $itemtype, $ID, $alert_type ) : nothing | Clear all alerts of an alert type for an item | |
displayLastAlert ( $itemtype, $items_id ) : nothing | ||
dropdown ( $options = [] ) | ||
dropdownIntegerNever ( $name, $value, $options = [] ) | ||
dropdownYesNo ( $options = [] ) | ||
getAlertDate ( $itemtype = '', $items_id = '', $type = '' ) | ||
prepareInputForAdd ( $input ) |
static public alertExists ( $itemtype = '', $items_id = '', $type = '' ) : integer | ||
$itemtype | (default '') | |
$items_id | (default '') | |
$type | (default '') | |
Результат | integer | of false |
public cleanDBonItemDelete ( $itemtype, $ID ) : boolean | ||
$itemtype | ID of the type to clear | |
$ID | ID of the item to clear | |
Результат | boolean |
public clear ( $itemtype, $ID, $alert_type ) : nothing | ||
$itemtype | ID of the type to clear | |
$ID | ID of the item to clear | |
$alert_type | ID of the alert type to clear | |
Результат | nothing |
static public displayLastAlert ( $itemtype, $items_id ) : nothing | ||
$itemtype | ||
$items_id | ||
Результат | nothing |
static public dropdownIntegerNever ( $name, $value, $options = [] ) | ||
$name | ||
$value | ||
$options | array |
static public dropdownYesNo ( $options = [] ) | ||
$options | array |
static public getAlertDate ( $itemtype = '', $items_id = '', $type = '' ) | ||
$itemtype | (default '') | |
$items_id | (default '') | |
$type | (default '') |