PHP 클래스 SessionRequest

파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
Create ( $p_sessionId, &$p_objectId, $p_objectTypeId = null, $p_userId = null, $p_updateStats = false )
UpdateStats ( integer $p_sessionId, integer $p_objectId ) : boolean Writes the statistics (when article read).

메소드 상세

Create() 공개 정적인 메소드

public static Create ( $p_sessionId, &$p_objectId, $p_objectTypeId = null, $p_userId = null, $p_updateStats = false )

UpdateStats() 공개 정적인 메소드

Writes the statistics (when article read).
public static UpdateStats ( integer $p_sessionId, integer $p_objectId ) : boolean
$p_sessionId integer used for not writing the stats multiple times
$p_objectId integer the article object whose stats shall be updated
리턴 boolean