Class

Contribution

Package: phpboost Author: Benoît Sautel <ben.popeye@phpboost.com> Desc: This class represents a contribution made by a user to complete the content of the website. All the contributions are managed in the contribution panel. Located at phpboost/event/Contribution.class.php
Event
Extended by Contribution
Methods summary
public
# __construct( )
public
# build( integer $id, string $entitled, string $description, string $fixing_url, integer $module, Date $status, Date $creation_date, mixed[] $fixing_date, integer $auth, integer $poster_id, integer $fixer_id, string $id_in_module, string $identifier, string $type, string $poster_login = '', mixed $fixer_login = '', mixed $poster_level = '', mixed $fixer_level = '', mixed $poster_groups = '', mixed $fixer_groups = '' )
public
# set_module( string $module )
public
# set_fixing_date( Date $date )
public
# set_status( integer $new_current_status )
public
# set_auth( mixed[] $auth )
public
# set_poster_id( integer $poster_id )
public
# set_fixer_id( integer $fixer_id )
public
# set_description( string $description )
public string
# get_description( )
public string
# get_module( )
public The
# get_fixing_date( )
public mixed[]
# get_auth( )
public integer
# get_poster_id( )
public integer
# get_fixer_id( )
public string
# get_poster_login( )
public string
# get_fixer_login( )
public string
# get_poster_level( )
public string
# get_fixer_level( )
public string
# get_poster_groups( )
public string
# get_fixer_groups( )
public string
# get_status_name( )
public string
# get_module_name( )
Methods inherited from Event
build_event(), get_creation_date(), get_entitled(), get_fixing_url(), get_id(), get_id_in_module(), get_identifier(), get_must_regenerate_cache(), get_status(), get_type(), set_creation_date(), set_entitled(), set_fixing_url(), set_id(), set_id_in_module(), set_identifier(), set_must_regenerate_cache(), set_type()
Constants summary
integer CONTRIBUTION_AUTH_BIT 1
#
Constants inherited from Event
EVENT_STATUS_BEING_PROCESSED, EVENT_STATUS_PROCESSED, EVENT_STATUS_UNREAD
Properties inherited from Event
$creation_date, $current_status, $entitled, $fixing_url, $id, $id_in_module, $identifier, $must_regenerate_cache, $type