Class

AdministratorAlertService

Package: phpboost Author: Benoît Sautel <ben.popeye@phpboost.com> Desc: This static class allows you to handler easily the administrator alerts which can be made in PHPBoost. Located at phpboost/event/AdministratorAlertService.class.php
Methods summary
public static
# __static( )
public static AdministratorAlert
# find_by_id( integer $alert_id )
public static AdministratorAlert[]
# find_by_criteria( integer $id_in_module = null, string $type = null, string $identifier = null )
public static AdministratorAlert[]
# find_by_identifier( string $identifier, string $type = '' )
public static AdministratorAlerts[]
# get_all_alerts( string $criteria = 'creation_date', string $order = 'desc', integer $begin = 0, integer $number = 20 )
public static
# save_alert( AdministratorAlert $alert )
public static
# delete_alert( AdministratorAlert $alert )
public static integer
# get_number_unread_alerts( )
public static integer
# get_number_alerts( )