AdminPageFramework_Input_checkbox::getAttributesByKey PHP Метод

getAttributesByKey() публичный Метод

public getAttributesByKey ( )
    public function getAttributesByKey()
    {
        $_aParams = func_get_args() + array(0 => '');
        $_sKey = $_aParams[0];
        $_bIsMultiple = '' !== $_sKey;
        return $this->getElement($this->aAttributes, $_sKey, array()) + array('type' => 'checkbox', 'id' => $this->aAttributes['id'] . '_' . $_sKey, 'checked' => $this->_getCheckedAttributeValue($_sKey), 'value' => 1, 'name' => $_bIsMultiple ? "{$this->aAttributes['name']}[{$_sKey}]" : $this->aAttributes['name'], 'data-id' => $this->aAttributes['id']) + $this->aAttributes;
    }