src/modules/Checkbox.php
protected function renderLabel()
    {
        $label = $this->encodeLabel ? Html::encode($this->label) : $this->label;
        return $this->hasModel()
            ? Html::activeLabel($this->model, $this->attribute, $this->labelOptions)
            : Html::label($label, $this->getId(), $this->labelOptions);
    }
protected function renderLabel()
    {
        $label = $this->encodeLabel ? Html::encode($this->label) : $this->label;
        return $this->hasModel()
            ? Html::activeLabel($this->model, $this->attribute, $this->labelOptions)
            : Html::label($label, $this->getId(), $this->labelOptions);
    }
protected function renderLabel ( ) { $ label = $ this -> encodeLabel ? Html :: encode ( $ this -> label ) : $ this -> label ; return $ this -> hasModel ( ) ? Html :: activeLabel ( $ this -> model , $ this -> attribute , $ this -> labelOptions ) : Html :: label ( $ label , $ this -> getId ( ) , $ this -> labelOptions ) ; }
Renders checkbox label

@return string the generated label
Renders checkbox label