Add label date element (read-only element)

@param $name
@param string $label
@param array $attr
@return \FrenchFrogs\Form\Element\Label
178013
public function addLabelDate($name, $label = '')
    {
        $e = new \FrenchFrogs\Form\Element\LabelDate($name, $label);
        $this->addElement($e);

        return $e;
    }
339270
public function file($name, $label, $attr = array())
    {
        return $this->input(
            $name,
            $label,
            array_merge(
                $attr,
                array('type' => 'file')
            )
        );
    }
394370
public function setName($name)
    {
        $attrName = $this->isMultiple()
            ? "{$name}[]"
            : $name;
        $this->setAttribute('name', $attrName);
        $this->name = $name;
        if ($label = $this->getLabel()) {
            $this->getLabel()->setAttribute('for', $this->generateId());
        }
        return $this;
    }
710103
protected function addAttr($label, $value, &$attr)
    {
        if (!isset($attr[$label])) {
            $attr[$label] = '';
        } else {
            $attr[$label] .= ' ';
        }
        $attr[$label] .= $value;

        return $this;
    }
955674
public function password($name, $label, $attr = array())
    {
        return $this->input(
            $name,
            $label,
            array_merge(
                $attr,
                array('type' => 'password')
            )
        );
    }
448243
public function link($text, $href, $label=false, array $attr=[]){
		$field = $this->factory('link', false, $label, array_merge(array('text' => $text, 'href' => $href), $attr));
		return $this->addField($field);
	}
848055
public function defineAttribute($name, $value = null, $label = null)
    {
        if ($label) {
            $this->_attributeLabels[$name] = $label;
        }
        parent::defineAttribute($name, $value);
    }
128608
public function label($name, $label, array $attr = null)
    {
        return $this->input($name, [ 'type' => 'label', 'label' => $label, 'attr' => $attr ]);
    }
1201665
public function addColumn($name, $label = null)
	{
		if (!$this->rowPrimaryKey) {
			$this->rowPrimaryKey = $name;
		}

		$label = $label ? $this->translate($label) : ucfirst($name);
		return $this->columns[$name] = new Column($name, $label, $this);
	}
1176568
public function addHidden($name, $attr = [])
    {
        $e = new \FrenchFrogs\Form\Element\Hidden($name, $attr);
        $this->addElement($e);
        return $e;
    }
1191673
public function addDateRange($name, $label = '', $from = '', $to = '', $is_mandatory = true)
    {
        $e = new \FrenchFrogs\Form\Element\DateRange($name, $label, $from, $to);
        $this->addElement($e);

        if ($is_mandatory) {
            $e->addRule('required');
        } else {
            $e->addFilter('nullable');
        }

        return $e;
    }
848975
public function addTitle($name, $attr = [])
    {
        $e = new \FrenchFrogs\Form\Element\Title($name, $attr);
        $this->addElement($e);
        return $e;
    }
1070329
public function setAttribute( $name, $value ) {
        if( $name == 'label' ) {
            $this->setLabel( (string)$value );
        } else {
            parent::setAttribute( $name, $value );
        }
    }
1016394
public void setLabel(final String label) {
        if (label != null)
            attrMixin.setAttribute(LABEL, label);
        else
            attrMixin.removeAttribute(LABEL);
    }
1129734
public function label($for, $label, array $attributes = [])
    {
        $tag = new Tag('label', $attributes);
        $tag->for = $for;
        $tag->setText($label);
        return $tag;
    }
59589
public function addLabel($label, $before=false, $icon=NULL) {
		$this->tagName="div";
		$this->addToProperty("class", "labeled");
		$this->content=new HtmlButton("button-" . $this->identifier, $this->content);
		$this->content->setTagName("div");
		$label=new HtmlLabel("label-" . $this->identifier, $label, "a");
		if(isset($icon))
			$label->addIcon($icon);
		$label->setBasic();
		$this->addContent($label, $before);
		return $label;
	}
1292165
public function addCheckbox($name, $label = '', $multi  = [], $attr = [] )
    {
        $e = new \FrenchFrogs\Form\Element\Checkbox($name, $label, $multi, $attr);
        $this->addElement($e);
        return $e;
    }