public function filter_array($data) {
        $result = array();
        foreach ($data as $fullname => $value) {
            if ($name = $this->remove_prefix($fullname)) {
                $result[$name] = $value;
            }
        }
        return $result;
    }
public function filter_array($data) {
        $result = array();
        foreach ($data as $fullname => $value) {
            if ($name = $this->remove_prefix($fullname)) {
                $result[$name] = $value;
            }
        }
        return $result;
    }
public function filter_array ( $ data ) { $ result = array ( ) ; foreach ( $ data as $ fullname => $ value ) { if ( $ name = $ this -> remove_prefix ( $ fullname ) ) { $ result [ $ name ] = $ value ; } } return $ result ; }
Filter some data to keep only those entries where the key contains
extraprefix, and remove the extra prefix from the reutrned arrary.
@param array $data some of the data stored in this step.
@return array the data with the keys ajusted using {@link remove_prefix()}.
Filter some data to keep only those entries where the key contains extraprefix and remove the extra prefix from the reutrned arrary .