<?php

/*
 * PuzzleApp
 * Webemyos
 * Jérôme Oliva
 * GNU Licence
 */

namespace Core\Control\TelBox;

use Core\Control\IControl;
use Core\Control\Control;


class TelBox extends Control implements IControl
{
    //Constructeur
    function __construct($name)
    {
        //Version
        $this->Version ="2.0.0.0";

        $this->Id=$name;
        $this->Name=$name;
        $this->MessageErreur="Date invalide elle doit être au format jj/mm/aaaa";
        $this->Type="tel";
        $this->CssClass="telBox";

        //$this->CssClass="form-control";
    }

    function Show()
    {
        return "<tel-box ". $this->getProperties()." ></tel-box>";
    }
}
?>