etp::get_attribute_descriptors (public)

 etp::get_attribute_descriptors content_type

Defined in packages/edit-this-page/tcl/etp-procs.tcl

returns a list of attribute descriptors for the given content_type. this includes standard attributes as well as extended attributes.

Parameters:
content_type

Partial Call Graph (max 5 caller/called nodes):
%3 packages/edit-this-page/www/etp.tcl packages/edit-this-page/ www/etp.tcl etp::get_attribute_descriptors etp::get_attribute_descriptors packages/edit-this-page/www/etp.tcl->etp::get_attribute_descriptors

Testcases:
No testcase defined.
Source code:
    variable standard_attributes
    variable content_types

    if {[info exists content_types($content_type)]} {
    return [concat $standard_attributes $content_types($content_type)]
    }

    return $standard_attributes
Generic XQL file:
packages/edit-this-page/tcl/etp-procs.xql

PostgreSQL XQL file:
packages/edit-this-page/tcl/etp-procs-postgresql.xql

Oracle XQL file:
packages/edit-this-page/tcl/etp-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: