PHP Class Swiftriver\Core\DAL\Repositories\TrustLogRepository

Author: mg[at]swiftly[dot]org
Show file Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
RecordSourceScoreChange ( string $sourceId, string $markerId, integer $change, $reason = null ) This method redords the fact that a marker (sweeper) has changed the score of a source by marking a content items as either 'acurate', 'chatter' or 'inacurate'
__construct ( string $dataContext = null ) The constructor for this repository Accepts the fully qulaified type of the ITrustLogDataContext implemting data context for this repository

Method Details

RecordSourceScoreChange() public method

This method redords the fact that a marker (sweeper) has changed the score of a source by marking a content items as either 'acurate', 'chatter' or 'inacurate'
public RecordSourceScoreChange ( string $sourceId, string $markerId, integer $change, $reason = null )
$sourceId string
$markerId string
$change integer

__construct() public method

The constructor for this repository Accepts the fully qulaified type of the ITrustLogDataContext implemting data context for this repository
public __construct ( string $dataContext = null )
$dataContext string