Class Addon
In: app/models/addon.rb
Parent: ActiveRecord::Base

************************************************************************/

  • SOLUNAS BOOKING ENGINE */
  • ====================== */
  • */
  • Copyright © 2006 by Marc Isemann */
  • sourceforge.net/projects/solunas */
  • */
  • This program is free software. You can redistribute it and/or modify */
  • it under the terms of the GNU General Public License as published by */
  • the Free Software Foundation; either version 2 of the License. */

************************************************************************/

Methods

Public Class methods

get an array of addon IDs

[Source]

    # File app/models/addon.rb, line 17
17:   def self.get_addons(addons)
18:     addon_array = Array.new
19:     addons.to_a.each do |addon|
20:       addon_array << addon[0]
21:     end
22:     return addon_array
23:   end

[Validate]