Class ::xo::Attribute

::xo::Attribute[i] create ... \
           [ -constraint_values constraint_values ] \
           [ -datatype:substdefault (default "text") ] \
           [ -help_text help_text ] \
           [ -multivalued multivalued ] \
           [ -pretty_name pretty_name ] \
           [ -pretty_plural:substdefault (default "") ] \
           [ -required:substdefault (default "false") ] \
           [ -spec spec ] \
           [ -substdefault substdefault ] \
           [ -validator validator ]

OpenACS specific attribute slot class, which can be further refined. Contains meta data based on the OpenACS meta-data conventions.
Defined in packages/xotcl-core/tcl/01-debug-procs.tcl

Class Relations

  • class: ::xotcl::MetaSlot[i]
  • superclass: ::xotcl::Attribute[i]
  • subclass: ::xo::db::Attribute[i]

Methods (to be applied on instances)

  • constraint_values (setter)

  • datatype (setter)

  • help_text (setter)

  • init (scripted, public)

     <instance of xo::Attribute[i]> init

    Constructor of the OpenACS specific attribute slot class

    Testcases:
    No testcase defined.
  • instvar (alias)

  • pretty_name (setter)

  • pretty_plural (setter)

  • required (setter)

  • spec (setter)

  • validator (setter)