method labelButton documentation in bbn\Html\Builder
function($cfg, $force = false)
{
$cont = new Element('div');
$ele = $this->button($cfg, 1);
// Submit by default!
if ( $this->_root_element && !\is_string($ele->attr('type')) ){
$ele->attr('type', 'submit');
}
$cont->addClass(self::$field_class)->append($ele);
$label = $this->label(' ');
$this->append($label)->append($cont);
return $this->_chainable && !$force ? $this : [$label, $cont];
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions