Couldn't find any information in google on this post.
I know that this field (frontend_input) is a part of some attribute class.
Where I could find it in the code and how does it work?
UPDATE: I found a class folder where frontend_input classes are defined.
It is a lib/Varien/Data/Form/Element/.**
Some logic I found here - app/code/core/Mage/Eav/Model/Resource/Entity/Attribute.php:
/**
* Retrieve attribute codes by front-end type
*
* @param string $frontendType
* @return array
*/
public function getAttributeCodesByFrontendType($frontendType)
{
$adapter = $this->_getReadAdapter();
$bind = array(':frontend_input' => $frontendType);
$select = $adapter->select()
->from($this->getTable('eav/attribute'), 'attribute_code')
->where('frontend_input = :frontend_input');
return $adapter->fetchCol($select, $bind);
}
and getAttributeCodesByFrontendType call here:
app/code/core/Mage/Catalog/data/catalog_setup/data-upgrade-1.6.0.0.4-1.6.0.0.5.php
$eavResource = Mage::getResourceModel('catalog/eav_attribute');
$multiSelectAttributeCodes = $eavResource->getAttributeCodesByFrontendType('multiselect');
But I don't still understand enough what does *frontend_input* field use for?
