/** * Gets active of current alert * @return boolean */ function osc_alert_is_active() { return (bool) osc_alert_field('b_active'); }
/** * Gets the search object of a specific alert * * @return Search */ function osc_alert_search_object() { return osc_unserialize(base64_decode(osc_alert_field('s_search'))); }