예제 #1
0
 /**
  * Get default attributes widgets
  *
  * @return array
  */
 protected function getDefaultWidgets()
 {
     $list = array();
     foreach (\XLite\Model\Attribute::getTypes() as $type => $name) {
         $list[] = $this->getWidget(array(), \XLite\Model\Attribute::getWidgetClass($type));
     }
     return $list;
 }