Class ::xo::tdom::AttributeManager

::xo::tdom::AttributeManager[i] create ...

Defined in

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xotcl::Object[i]
  • subclass: ::xo::tdom::Object[i], ::xo::Drawable[i]

Methods (to be applied on instances)

  • get_attributes (scripted, public)

     <instance of xo::tdom::AttributeManager[i]> get_attributes args \
        [ args... ]

    Get a list of attribute value pairs of instance attributes. It returns only those pairs for which a value exists.

    Parameters:
    args (required)
    Returns:
    flattened list of attribute value pairs

    Testcases:
    create_form_with_form_instance
  • get_local_attributes (scripted, public)

     <instance of xo::tdom::AttributeManager[i]> get_local_attributes \
        args [ args... ]

    Get a list of attribute value pairs of instance attributes. It returns only those pairs for which a value exists.

    Parameters:
    args (required)
    Returns:
    flattened list of attribute value pairs

    Testcases:
    xowiki_test_cases