# jc-importer/2.14.23/class/Common/AddonAPI/Exporter/GroupSchema.php

Import WP – CSV &amp; XML Import Export for WordPress, version 2.14.23. 39 lines.

- Page: https://pluginprobe.com/plugins/jc-importer/2.14.23/code/class/Common/AddonAPI/Exporter/GroupSchema.php
- Raw: https://pluginprobe.com/plugins/jc-importer/2.14.23/raw/class/Common/AddonAPI/Exporter/GroupSchema.php
- Modified: 2024-07-14T15:13:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jc-importer/2.14.23/code/class/Common/AddonAPI/Exporter/GroupSchema.php#L10-L20`.

```php
<?php

namespace ImportWP\Common\AddonAPI\Exporter;

class GroupSchema
{
    private $_id;

    private $_name;

    private $_fields = [];

    public function __construct($name, $id)
    {
        $this->_name = $name;
        $this->_id = $id;
    }

    public function add_field($field)
    {
        $this->_fields[] = $field;
    }

    public function get_fields()
    {
        return $this->_fields;
    }

    public function get_id()
    {
        return $this->_id;
    }

    public function get_name()
    {
        return $this->_name;
    }
}

```
