%3 ::xowiki::PodcastItem ::xowiki::PodcastItem render_content update ::xowiki::File ::xowiki::File build_name demarshall full_file_name html_content marshall pretty_name render_content render_icon search_render www-download ::xowiki::PodcastItem->::xowiki::File ::xo::db::CrCache::Item ::xo::db::CrCache::Item delete flush_from_cache_and_refresh remove_non_persistent_vars rename save save_new set_non_persistent_vars update_attribute_from_slot ::xotcl::Object ::xotcl::Object ::xo::db::CrCache::Item->::xotcl::Object ::xowiki::Page ::xowiki::Page ::xowiki::File->::xowiki::Page

Class ::xowiki::PodcastItem

::xowiki::PodcastItem[i] create ...

Class Relations

  • class: ::xo::db::CrClass[i]
  • superclass: ::xowiki::File[i]
::xo::db::CrClass create ::xowiki::PodcastItem \
     -superclass ::xowiki::File

Methods (to be applied on instances)

  • duration (setter)

  • keywords (setter)

  • mime_type (setter)

  • podcast_item_id (setter)

  • pub_date (setter)

  • render_content (scripted)

    set content [next]
    append content <ul>
    foreach {label var} {
      #xowiki.title# title
      #xowiki.PodcastItem-subtitle# subtitle
      #xowiki.Page-creator# creator
      #xowiki.PodcastItem-pub_date# pub_date
      #xowiki.PodcastItem-duration# duration
      #xowiki.PodcastItem-keywords# keywords
    } {
      append content "<li><em>$label:</em> [set :$var]\n"
    }
    append content </ul>
    return $content
  • subtitle (setter)

  • update (scripted)

    ::xo::dc transaction {
      next
      :instvar object_id pub_date subtitle keywords duration
      ::xo::dc dml update_xowiki_podcast_item {update xowiki_podcast_item
        set pub_date = :pub_date,subtitle = :subtitle,keywords = :keywords,duration = :duration where podcast_item_id = :object_id
      }
    }