PHP 클래스 Piwik\Tracker\Action

파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$request Request Public so that events listener can access it

공개 메소드들

메소드 설명
__construct ( $type, Request $request )
factory ( Request $request ) : Action Makes the correct Action object based on the request.
getActionName ( )
getActionType ( )
getActionUrl ( ) : string Returns URL of the page currently being tracked, or the file being downloaded, or the outlink being clicked
getActionUrlRaw ( ) Returns URL of page being tracked, including all original Query parameters
getCustomFields ( )
getCustomFloatValue ( ) custom_float column
getCustomVariables ( )
getIdActionName ( )
getIdActionNameForEntryAndExitIds ( )
getIdActionUrl ( )
getIdActionUrlForEntryAndExitIds ( )
getIdLinkVisitAction ( ) : integer Returns the ID of the newly created record in the log_link_visit_action table
getTypeAsString ( $type )
loadIdsFromLogActionTable ( ) Loads the idaction of the current action name and the current action url.
record ( Piwik\Tracker\Visitor $visitor, integer $idReferrerActionUrl, $idReferrerActionName ) Records in the DB the association between the visit and this action.
setCustomField ( $field, $value )
shouldHandle ( Request $request )
writeDebugInfo ( )

보호된 메소드들

메소드 설명
getActionsToLookup ( )
getUrlAndType ( )
setActionName ( $name )
setActionUrl ( $url )
setActionUrlWithoutExcludingParameters ( $url )

비공개 메소드들

메소드 설명
getAllActions ( Request $request )
getModel ( )
getPriority ( Action $actionType )
isActionHasActionName ( ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( $type, Request $request )
$request Request

factory() 공개 정적인 메소드

Makes the correct Action object based on the request.
public static factory ( Request $request ) : Action
$request Request
리턴 Action

getActionName() 공개 메소드

public getActionName ( )

getActionType() 공개 메소드

public getActionType ( )

getActionUrl() 공개 메소드

Returns URL of the page currently being tracked, or the file being downloaded, or the outlink being clicked
public getActionUrl ( ) : string
리턴 string

getActionUrlRaw() 공개 메소드

Returns URL of page being tracked, including all original Query parameters
public getActionUrlRaw ( )

getActionsToLookup() 추상적인 보호된 메소드

abstract protected getActionsToLookup ( )

getCustomFields() 공개 메소드

public getCustomFields ( )

getCustomFloatValue() 공개 메소드

custom_float column
public getCustomFloatValue ( )

getCustomVariables() 공개 메소드

public getCustomVariables ( )

getIdActionName() 공개 메소드

public getIdActionName ( )

getIdActionNameForEntryAndExitIds() 공개 메소드

getIdActionUrl() 공개 메소드

public getIdActionUrl ( )

getIdActionUrlForEntryAndExitIds() 공개 메소드

getIdLinkVisitAction() 공개 메소드

Returns the ID of the newly created record in the log_link_visit_action table
public getIdLinkVisitAction ( ) : integer
리턴 integer

getTypeAsString() 공개 정적인 메소드

public static getTypeAsString ( $type )

getUrlAndType() 보호된 메소드

protected getUrlAndType ( )

loadIdsFromLogActionTable() 공개 메소드

These idactions are used in the visitor logging table to link the visit information (entry action, exit action) to the actions. These idactions are also used in the table that links the visits and their actions. The methods takes care of creating a new record(s) in the action table if the existing action name and action url doesn't exist yet.

record() 공개 메소드

Records in the DB the association between the visit and this action.
public record ( Piwik\Tracker\Visitor $visitor, integer $idReferrerActionUrl, $idReferrerActionName )
$visitor Piwik\Tracker\Visitor
$idReferrerActionUrl integer is the ID of the last action done by the current visit.
$idReferrerActionName

setActionName() 보호된 메소드

protected setActionName ( $name )

setActionUrl() 보호된 메소드

protected setActionUrl ( $url )

setActionUrlWithoutExcludingParameters() 보호된 메소드

setCustomField() 공개 메소드

public setCustomField ( $field, $value )

shouldHandle() 공개 정적인 메소드

public static shouldHandle ( Request $request )
$request Request

writeDebugInfo() 공개 메소드

public writeDebugInfo ( )

프로퍼티 상세

$request 공개적으로 프로퍼티

Public so that events listener can access it
public Request,Piwik\Tracker $request
리턴 Request