/** * Creates a control group * * @param string $label Its label */ public function __construct($label) { // Get special classes $this->attributes = Framework::getGroupClasses($this->attributes); // Set control group label $this->setLabel($label); return $this; }