Exemplo n.º 1
0
/**
 * Gets active of current alert
 * @return boolean
 */
function osc_alert_is_active()
{
    return (bool) osc_alert_field('b_active');
}
Exemplo n.º 2
0
/**
 * 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')));
}