<?php

namespace VisualM\ManagementBundle\AdminList\Column;

use VisualM\ManagementBundle\AdminList\Column\ColumnConfigurationAbstract;
use VisualM\ManagementBundle\AdminList\Column\ColumnConfigurationInterface;


class BulkCheckboxColumn extends ColumnConfigurationAbstract implements ColumnConfigurationInterface
{
    protected $headerClass;

    /**
     * Constructor
     * @param string $field Field (default: 'id')
     * @param string $itemClass
     * @param string $headerClass
     */
    public function __construct($field='id', $title='', $itemClass='', $headerClass='')
    {
        parent::__construct(
            $field,
            $title,
            false,
            'VisualMManagementBundle:AdminList:Column/BulkCheckbox/listItem.html.twig',
            'VisualMManagementBundle:AdminList:Column/BulkCheckbox/listHeader.html.twig',
            null,
            $itemClass
        );

        $this->headerClass = $headerClass;
    }

    /**
     * {@inheritdoc}
     */
    public function getHeaderClass()
    {
        return $this->headerClass;
    }

}