Skip To Main Content
Begin Main Content
Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]

::xowiki::IncludeletClass[i] ::xowiki::includelet::copy-item-button

Class Hierarchy of ::xowiki::includelet::copy-item-button

  • ::xotcl::Object[i]
    Meta-class:
    ::xotcl::Class[i]
    Methods for instances:
    __api_make_doc, __api_make_forward_doc, __nextC, __timediff, abstract, ad_doc, ad_forward, ad_proc, appendC, arrayC, asHTML, autonameC, checkC, classC, cleanupC, configureC, contains, copy, db_1rowC, debug, defaultmethod, destroyC, destroy_on_cleanup, evalC, existsC, extractConfigureArg, filterC, filterguardC, filtersearchC, forwardC, hasclass, incrC, infoC, init, instvarC, invarC, isclassC, ismetaclassC, ismixinC, isobjectC, istypeC, lappendC, log, method, mixinC, mixinguardC, move, msg, noinitC, parametercmdC, procC, procsearchC, qn, requireNamespaceC, self, serialize, setC, substC, traceC, unsetC, uplevelC, upvarC, volatileC, vwaitC
    Methods to be applied on the class (in addition to the methods provided by the meta-class):
    __exitHandler, getExitHandler, setExitHandler, unsetExitHandler
    • ::xo::Context[i]
      Meta-class:
      ::xotcl::Class[i]
      Parameter for instances:
      actual_query (default " "), locale, package_id (default "0"), parameter_declaration (default "")
      Methods for instances:
      exists_query_parameter, export_vars, get_all_query_parameter, get_parameters, initialize, original_url_and_query, process_query_parameter, query_parameter
      Methods to be applied on the class:
      Methods provided by the meta-class
      • ::xowiki::Includelet[i]
        Meta-class:
        ::xotcl::Class[i]
        Parameter for instances:
        __decoration (default "portlet"), id, name (default ""), parameter_declaration (default ""), title (default "")
        Methods for instances:
        category_clause, get_page_order, include_head_entries, initialize, js_name, resolve_page_name, screen_name
        Methods to be applied on the class (in addition to the methods provided by the meta-class):
        available_includelets, describe_includelets, detail_link, html_id, html_to_text, incr_page_order, js_name, locale_clause, publish_status_clause, require_YUI_CSS, require_YUI_JS
        • ::xowiki::includelet::item-button[i]
          Meta-class:
          ::xowiki::IncludeletClass[i]
          Parameter for instances:
          __decoration (default "none"), return_url (default "")
          Methods for instances:
          initialize, render_button
          Methods to be applied on the class:
          Methods provided by the meta-class
          • ::xowiki::includelet::copy-item-button[i]
            Meta-class:
            ::xowiki::IncludeletClass[i]
            Parameter for instances:
            __decoration (default "none"), parameter_declaration (default " {-page_id} {-alt "copy"} {-book_mode false} "), src (default "/resources/acs-subsite/Copy16.gif")
            Methods for instances:
            render
            Methods to be applied on the class:
            Methods provided by the meta-class

Class Relations

  • superclass: ::xowiki::includelet::item-button[i]
::xowiki::IncludeletClass create ::xowiki::includelet::copy-item-button \
     -superclass ::xowiki::includelet::item-button \
     -parameter {{__decoration none} {parameter_declaration {
          {-page_id}
          {-alt "copy"}
          {-book_mode false}
        }} {src /resources/acs-subsite/Copy16.gif}}

Methods

  • instproc render

    ::xowiki::includelet::copy-item-button instproc render {} {
        my get_parameters
        my instvar __including_page return_url
        set page [expr {[info exists page_id] ? $page_id : $__including_page}]
    
        if {[$page istype ::xowiki::FormPage]} {
          set template [$page page_template]
          return [my render_button  -page $template -method create-new -package_id $package_id  -title [_ xowiki.copy_entry [list type [$template title]]]  -alt $alt -source_item_id [$page item_id]  -return_url $return_url]
        } else {
          set object_type [$__including_page info class]
          return [my render_button  -page $package_id -method edit_new -package_id $package_id  -title [_ xowiki.copy_entry [list type $object_type]]  -alt $alt -source_item_id [$page item_id]  -return_url $return_url  -object_type $object_type]
        }
      }

Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]
My Calendar