Class

ContributionService

Package: phpboost Author: Benoît Sautel <ben.popeye@phpboost.com> Desc: This service allows developers to manage their contributions. Located at phpboost/event/ContributionService.class.php
Methods summary
public static
# __static( )
public static Contribution
# find_by_id( integer $id_contrib )
public static Contribution[]
# get_all_contributions( string $criteria = 'creation_date', string $order = 'desc' )
public static Contribution[]
# find_by_criteria( string $module, integer $id_in_module = null, string $type = null, string $identifier = null, integer $poster_id = null, integer $fixer_id = null )
public static
# save_contribution( Contribution $contribution )
public static
# delete_contribution( Contribution $contribution )
public static
# delete_contribution_module( string $module_id )
public static
# generate_cache( )
public static int[]
# compute_number_contrib_for_each_profile( )
Constants summary
integer CONTRIBUTION_TYPE 0
#