Class

Event

Package: phpboost Author: Benoît Sautel <ben.popeye@phpboost.com> Desc: It's the common part between two types of event existing now in PHPBoost:
  • User contribution managed into the contribution panel
  • Administrator alert, triggered for example when a new update is available or when a new member account is to approbate
Located at phpboost/event/Event.class.php

Direct known subclasses

AdministratorAlert, Contribution, Notification
Methods summary
public
# __construct( )
public
# set_id( integer $id )
public
# set_entitled( string $entitled )
public
# set_fixing_url( string $fixing_url )
public
# set_status( integer $new_current_status )
public
# set_creation_date( Date $date )
public
# set_id_in_module( integer $id )
public
# set_identifier( string $identifier )
public
# set_type( string $type )
public
# set_must_regenerate_cache( boolean $must )
public integer
# get_id( )
public string
# get_entitled( )
public string
# get_fixing_url( )
public integer
# get_status( )
public Date
# get_creation_date( )
public integer
# get_id_in_module( )
public string
# get_identifier( )
public string
# get_type( )
public boolean
# get_must_regenerate_cache( )
public The
# get_status_name( )
public
# build_event( integer $id, string $entitled, string $fixing_url, integer $current_status, Date $creation_date, integer $id_in_module, string $identifier, string $type )
Constants summary
integer EVENT_STATUS_UNREAD 0
#
integer EVENT_STATUS_BEING_PROCESSED 1
#
integer EVENT_STATUS_PROCESSED 2
#
Properties summary
protected integer $id 0
#
protected string $entitled ''
#
protected string $fixing_url ''
#
protected integer $current_status Event::EVENT_STATUS_UNREAD
#
protected mixed $creation_date
#
protected integer $id_in_module 0
#
protected string $identifier ''
#
protected string $type ''
#
protected boolean $must_regenerate_cache true
#