public function addLabel(Doozr_Form_Service_Component_Interface_Html $label)
    {
        $index               = $this->addChild($label);
        $this->index[$index] = self::LABEL;

        (!isset($this->indexReverse[self::LABEL])) ? $this->indexReverse[self::LABEL] = [] : null;
        $this->indexReverse[self::LABEL][]                                            = $index;

        return $index;
    }
public function addLabel(Doozr_Form_Service_Component_Interface_Html $label)
    {
        $index               = $this->addChild($label);
        $this->index[$index] = self::LABEL;

        (!isset($this->indexReverse[self::LABEL])) ? $this->indexReverse[self::LABEL] = [] : null;
        $this->indexReverse[self::LABEL][]                                            = $index;

        return $index;
    }
public function addLabel ( Doozr_Form_Service_Component_Interface_Html $ label ) { $ index = $ this -> addChild ( $ label ) ; $ this -> index [ $ index ] = self :: LABEL ; ( ! isset ( $ this -> indexReverse [ self :: LABEL ] ) ) ? $ this -> indexReverse [ self :: LABEL ] = [ ] : null ; $ this -> indexReverse [ self :: LABEL ] [ ] = $ index ; return $ index ; }
Adds a label to the group.

@param Doozr_Form_Service_Component_Interface_Html $label The label instance to add

@author Benjamin Carl <opensource@clickalicious.de>

@return int The index of the added label
Adds a label to the group .