Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New hook Live.makeNewVisitorObject for plugins to customise Visitor object #5360

Closed
mattab opened this issue Jun 18, 2014 · 1 comment
Closed
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jun 18, 2014

Hook which give possibility to manipulate Visitor object instance. I've used same convention which is implemented in Tracker class. (https://github.com/piwik/piwik/blob/master/core/Tracker.php#L631) This hook could be used to overwrite some fields in Live plugin API methods. Interface is simply as possible. Only two methods should be visible outside of Visitor class. (in my, and my phpstorm opinion)

#322

@mattab
Copy link
Member Author

mattab commented Jun 19, 2014

In 6c19704: Merge pull request #322 from czolnowski/visitor-interface

Visitor interface implementation. Fixes #5360

@mattab mattab added this to the 2.4.0 - Piwik 2.4.0 milestone Jul 8, 2014
@mattab mattab self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

1 participant