Piwik\Segment::isEmpty PHP Method

isEmpty() public method

Returns true if the segment is empty, false if otherwise.
public isEmpty ( )
    public function isEmpty()
    {
        return $this->segmentExpression->isEmpty();
    }

Usage Example

Example #1
0
 public static function shouldProcessReportsAllPlugins(array $idSites, Segment $segment, $periodLabel)
 {
     if ($segment->isEmpty() && $periodLabel != 'range') {
         return true;
     }
     return self::isSegmentPreProcessed($idSites, $segment);
 }
All Usage Examples Of Piwik\Segment::isEmpty