for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace fieldwork\components;
class HorizontalGroup extends GroupComponent
{
const CLASS_TWO_ITEMS = 'two-items';
public function getClasses ()
return array_merge(parent::getClasses(), array(
'horizontalgroup'
));
}
public function getHTML ($showLabel = true)
return '<div ' . $this->getAttributesString() . '>' . parent::getHTML('<div data-wrapper-for="%slug%" class="group-item horizontal-group-item %classes%">', '</div>') . '</div>';