private function addFiltersFromArray(array $filters)
    {
        foreach ($filters as $filter) {
        
            $id          = $filter['id'];
            $rule        = $filter['rule'];
            $impact      = $filter['impact'];
            $tags        = $filter['tags'];
            $description = $filter['description'];
        
            $this->addFilter(
                new \IDS\Filter(
                    $id,
                    $rule,
                    $description,
                    (array) $tags[0],
                    (int) $impact
                )
            );
        }
    }
private function addFiltersFromArray(array $filters)
    {
        foreach ($filters as $filter) {
        
            $id          = $filter['id'];
            $rule        = $filter['rule'];
            $impact      = $filter['impact'];
            $tags        = $filter['tags'];
            $description = $filter['description'];
        
            $this->addFilter(
                new \IDS\Filter(
                    $id,
                    $rule,
                    $description,
                    (array) $tags[0],
                    (int) $impact
                )
            );
        }
    }
private function addFiltersFromArray ( array $ filters ) { foreach ( $ filters as $ filter ) { $ id = $ filter [ 'id' ] ; $ rule = $ filter [ 'rule' ] ; $ impact = $ filter [ 'impact' ] ; $ tags = $ filter [ 'tags' ] ; $ description = $ filter [ 'description' ] ; $ this -> addFilter ( new \ IDS \ Filter ( $ id , $ rule , $ description , ( array ) $ tags [ 0 ] , ( int ) $ impact ) ) ; } }
This functions adds an array of filters to the IDS_Storage object.
Each entry within the array is expected to be an simple array containing all parts of the filter.

@param array $filters
This functions adds an array of filters to the IDS_Storage object . Each entry within the array is expected to be an simple array containing all parts of the filter .