Inheritance: extends AdminPageFramework_Input_Base
 private function _getEachCheckboxOutput(array $aField, $sKey, $sLabel)
 {
     $_oCheckbox = new AdminPageFramework_Input_checkbox($aField['attributes']);
     $_oCheckbox->setAttributesByKey($sKey);
     $_oCheckbox->addClass($this->_sCheckboxClassSelector);
     return $this->getElement($aField, array('before_label', $sKey)) . "<div class='admin-page-framework-input-label-container admin-page-framework-checkbox-label' style='min-width: " . $this->sanitizeLength($aField['label_min_width']) . ";'>" . "<label " . $this->getAttributes(array('for' => $_oCheckbox->getAttribute('id'), 'class' => $_oCheckbox->getAttribute('disabled') ? 'disabled' : null)) . ">" . $this->getElement($aField, array('before_input', $sKey)) . $_oCheckbox->get($sLabel) . $this->getElement($aField, array('after_input', $sKey)) . "</label>" . "</div>" . $this->getElement($aField, array('after_label', $sKey));
 }
 private function _getEachCheckboxOutput(array $aField, $sKey, $sLabel)
 {
     $_aInputAttributes = array('data-key' => $sKey) + $aField['attributes'];
     $_oCheckbox = new AdminPageFramework_Input_checkbox($_aInputAttributes, array('save_unchecked' => $this->getElement($aField, 'save_unchecked')));
     $_oCheckbox->setAttributesByKey($sKey);
     $_oCheckbox->addClass($this->_sCheckboxClassSelector);
     return $this->getElementByLabel($aField['before_label'], $sKey, $aField['label']) . "<div " . $this->getLabelContainerAttributes($aField, 'admin-page-framework-input-label-container admin-page-framework-checkbox-label') . ">" . "<label " . $this->getAttributes(array('for' => $_oCheckbox->getAttribute('id'), 'class' => $_oCheckbox->getAttribute('disabled') ? 'disabled' : null)) . ">" . $this->getElementByLabel($aField['before_input'], $sKey, $aField['label']) . $_oCheckbox->get($sLabel) . $this->getElementByLabel($aField['after_input'], $sKey, $aField['label']) . "</label>" . "</div>" . $this->getElementByLabel($aField['after_label'], $sKey, $aField['label']);
 }
 protected function getField($aField)
 {
     $_aOutput = array();
     $_oCheckbox = new AdminPageFramework_Input_checkbox($aField);
     foreach ($this->getAsArray($aField['label']) as $_sKey => $_sLabel) {
         $_aInputAttributes = $_oCheckbox->getAttributeArray($_sKey);
         $_aInputAttributes['class'] = $this->generateClassAttribute($_aInputAttributes['class'], $this->_sCheckboxClassSelector);
         $_aOutput[] = $this->getFieldElementByKey($aField['before_label'], $_sKey) . "<div class='admin-page-framework-input-label-container admin-page-framework-checkbox-label' style='min-width: " . $this->sanitizeLength($aField['label_min_width']) . ";'>" . "<label " . $this->generateAttributes(array('for' => $_aInputAttributes['id'], 'class' => $_aInputAttributes['disabled'] ? 'disabled' : null)) . ">" . $this->getFieldElementByKey($aField['before_input'], $_sKey) . $_oCheckbox->get($_sLabel, $_aInputAttributes) . $this->getFieldElementByKey($aField['after_input'], $_sKey) . "</label>" . "</div>" . $this->getFieldElementByKey($aField['after_label'], $_sKey);
     }
     $_aCheckboxContainerAttributes = array('class' => 'admin-page-framework-checkbox-container', 'data-select_all_button' => $aField['select_all_button'] ? !is_string($aField['select_all_button']) ? $this->oMsg->get('select_all') : $aField['select_all_button'] : null, 'data-select_none_button' => $aField['select_none_button'] ? !is_string($aField['select_none_button']) ? $this->oMsg->get('select_none') : $aField['select_none_button'] : null);
     return "<div " . $this->generateAttributes($_aCheckboxContainerAttributes) . ">" . "<div class='repeatable-field-buttons'></div>" . implode(PHP_EOL, $_aOutput) . "</div>";
 }