Project

General

Profile

« Previous | Next » 

Revision 43bd8057

Added by Marc Dequènes almost 15 years ago

  • ID 43bd805719d710f4330cab70fdcae0a4a1ba0986

[evol] finished modification of relations

View differences:

lib/ldap_shadows/object.rb
module LdapShadows
class LdapObject < ActiveLdap::Base
class_inheritable_accessor :handle, :presentation, :mapper
class_inheritable_accessor :handle, :presentation, :mapper, :relations_info
ldap_mapping :prefix => '', :classes => ['top'], :scope => :sub
......
list
end
def info_for_relation(rel)
return nil unless self.relations.include?(rel)
self.relations_info[rel.to_sym]
end
def organized_data(options = {})
options.symbolize_keys!
options[:expert] ||= false;

Also available in: Unified diff