kartik\builder\Form::beginTag PHP Method

beginTag() protected method

Begins a tag markup based on orientation.
protected beginTag ( string $tag, array $options = [], boolean $skip = false ) : string
$tag string the HTML tag
$options array the HTML attributes for the tag
$skip boolean whether to skip the tag generation
return string
    protected function beginTag($tag, $options = [], $skip = false)
    {
        if ($this->_orientation !== ActiveForm::TYPE_INLINE && !$skip) {
            return Html::beginTag($tag, $options) . "\n";
        }
        return '';
    }