<?php
/**
 * Icon Column
 * 
 * Column to display an icon in the adminlist, has no functionalitiy,
 * just astetic
 * 
 * @author Elze Kool <info@visualmedia.nl>
 */

namespace VisualM\ManagementBundle\AdminList\Column;

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

/**
 * Icon Naam Column
 *
 * @author Elze Kool <info@visualmedia.nl>
 */
class IconColumn extends ColumnConfigurationAbstract implements ColumnConfigurationInterface
{
    /**
     * Icon Class
     * @var string
     */
    private $IconClass;
    
    /**
     * Constructor
     * 
     * @param string $iconClass Icon Class
     */
    public function __construct($iconClass)
    {
        $this->IconClass = $iconClass;
        parent::__construct(
            null, 
            '', 
            false, 
            'VisualMManagementBundle:AdminList:Column/Icon/listItem.html.twig', 
            'VisualMManagementBundle:AdminList:Column/Icon/listHeader.html.twig',
            null
        );
    }

    /**
     * Get Icon Class
     * 
     * @return string Icon Class
     */
    public function getIconClass()
    {
        return $this->IconClass;
    }


}