callback::application-track::getGeneralInfo::impl::news (private)

 callback::application-track::getGeneralInfo::impl::news

Defined in packages/news/tcl/news-callback-procs.tcl

callback implementation

See Also:
  • callback::application-track::getGeneralInfo::contract

Testcases:
No testcase defined.
Source code:
    ::callback::application-track::getGeneralInfo::contract__arg_parser {*}$args

    db_1row my_query {
        select count(n.item_id) as result
        FROM news_items_approved n, dotlrn_class_instances_full com
        WHERE class_instance_id=:comm_id
        and apm_package__parent_id(n.package_id) = com.package_id
    }

    return "$result"
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/news/tcl/news-callback-procs.xql

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