<?php
/**
 * Column Configuration
 * 
 * @author Visual Media 
 */

namespace VisualM\ManagementBundle\AdminList\Column;

/**
 * Column Configuration
 *
 * @author Visual Media 
 */
class PlainValueColumn extends ColumnConfigurationAbstract implements ColumnConfigurationInterface
{
    /**
     * Constructor
     * 
     * @param string  $field          Field (null for no field binding)
     * @param string  $title          Title
     * @param boolean $sortable       Sortable
     * @param string  $itemClass      Item Class
     */
    public function __construct($field, $title, $sortable = false, $itemClass = '')
    {
        parent::__construct(
            $field,
            $title,
            $sortable,
            'VisualMManagementBundle:AdminList:Column/PlainValueColumn/listItem.html.twig', 
            'VisualMManagementBundle:AdminList:Column/PlainValueColumn/listHeader.html.twig',
            null,
            $itemClass
        );
    }

}