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 PHP API method that lets us know if we segment will be archived #10845

Merged
merged 1 commit into from Nov 14, 2016

Conversation

@tsteur
Copy link
Member

tsteur commented Nov 8, 2016

Useful to check if a report would be archived and whether a report is supposed to show data for a certain segment or not.

Usage eg:

$segment = new Piwik\Segment('visitCount>2', array($idSite = 1));
$segment->willBeArchived();

ping @mattab

@tsteur tsteur added the Needs Review label Nov 8, 2016
@mattab mattab merged commit 9ad7d38 into 3.x-dev Nov 14, 2016
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build failed
Details
@mattab mattab deleted the rules_segment branch Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.