/**
  * returns all the column names of this table
  *
  * @access public
  * @return array
  */
 static function &fields()
 {
     if (!self::$_fields) {
         self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => true), 'price_set_id' => array('name' => 'price_set_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Price_DAO_Set'), 'name' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Name'), 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'label' => array('name' => 'label', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Label'), 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'html_type' => array('name' => 'html_type', 'type' => CRM_Utils_Type::T_ENUM, 'title' => ts('Html Type'), 'required' => true, 'enumValues' => 'Text, Select, Radio, CheckBox'), 'is_enter_qty' => array('name' => 'is_enter_qty', 'type' => CRM_Utils_Type::T_BOOLEAN), 'help_pre' => array('name' => 'help_pre', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Help Pre'), 'rows' => 4, 'cols' => 80), 'help_post' => array('name' => 'help_post', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Help Post'), 'rows' => 4, 'cols' => 80), 'weight' => array('name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Weight'), 'default' => ''), 'is_display_amounts' => array('name' => 'is_display_amounts', 'type' => CRM_Utils_Type::T_BOOLEAN, 'default' => ''), 'options_per_line' => array('name' => 'options_per_line', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Options Per Line'), 'default' => ''), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'default' => ''), 'is_required' => array('name' => 'is_required', 'type' => CRM_Utils_Type::T_BOOLEAN, 'default' => ''), 'active_on' => array('name' => 'active_on', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Active On'), 'default' => 'UL'), 'expire_on' => array('name' => 'expire_on', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Expire On'), 'default' => 'UL'), 'javascript' => array('name' => 'javascript', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Javascript'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'visibility_id' => array('name' => 'visibility_id', 'type' => CRM_Utils_Type::T_INT, 'default' => ''));
     }
     return self::$_fields;
 }