Class: CKAmritaElement

Class CKAmritaElement |
In: | lib/amrita/cgikit.rb
Parent: | CKElement

Methods

amrita_get_data to_s

Included modules

Amrita Amrita::DictionaryData

Public Instance methods

to_s()

    # File lib/amrita/cgikit.rb, line 10
      def to_s
        tmpl = TemplateText.new body
        result = ""
        tmpl.expand(result, self)
        result
      end

amrita_get_data(hid, e, context)

    # File lib/amrita/cgikit.rb, line 17
      def amrita_get_data(hid, e, context)
        hid = hid.id2name
        ret = fetch(hid)
        unless ret
          ret = CKBinding.bind(parent, hid)
        end
        ret
      end