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 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 PRs that need a code review label Nov 8, 2016
@tsteur tsteur added this to the 3.0.0-b3 milestone Nov 8, 2016
@mattab mattab merged commit 9ad7d38 into 3.x-dev Nov 14, 2016
@mattab mattab deleted the rules_segment branch December 16, 2016 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants