Class: Sequel::Model

Inherits:
Object
  • Object
show all
Defined in:
lib/zen/model/methods.rb

Overview

:nodoc:

Direct Known Subclasses

Categories::Model::Category, Categories::Model::CategoryGroup, Comments::Model::Comment, Comments::Model::CommentStatus, CustomFields::Model::CustomField, CustomFields::Model::CustomFieldGroup, CustomFields::Model::CustomFieldMethod, CustomFields::Model::CustomFieldType, CustomFields::Model::CustomFieldValue, Menus::Model::Menu, Menus::Model::MenuItem, Sections::Model::Section, Sections::Model::SectionEntry, Sections::Model::SectionEntryStatus, Settings::Model::Setting, Users::Model::Permission, Users::Model::User, Users::Model::UserGroup, Users::Model::UserStatus

Class Method Summary (collapse)

Class Method Details

+ (Hash) pk_hash(column)

Retrieves all primary values and an optional column and returns the results as an array of hashes in which the keys of these hashes are the IDs and the values the values of the specified column. This array can be used when creating