/** * Returns an array containing, for each field, the arary key used for that * field in self::$_fields. * * @return array */ static function &fieldKeys() { if (!self::$_fieldKeys) { self::$_fieldKeys = array('id' => 'id', 'price_set_id' => 'price_set_id', 'name' => 'name', 'label' => 'label', 'html_type' => 'html_type', 'is_enter_qty' => 'is_enter_qty', 'help_pre' => 'help_pre', 'help_post' => 'help_post', 'weight' => 'weight', 'is_display_amounts' => 'is_display_amounts', 'options_per_line' => 'options_per_line', 'is_active' => 'is_active', 'is_required' => 'is_required', 'active_on' => 'active_on', 'expire_on' => 'expire_on', 'javascript' => 'javascript', 'visibility_id' => 'visibility_id'); } return self::$_fieldKeys; }