image_search::datasource (private)

 image_search::datasource object_id

Defined in packages/acs-content-repository/tcl/search-procs.tcl

Provides data source for search interface. Used to access content items after search.

Parameters:
object_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_0or1row db_0or1row (public) image_search::datasource image_search::datasource image_search::datasource->db_0or1row

Testcases:
No testcase defined.
Source code:
    db_0or1row revisions_datasource {
        select r.revision_id as object_id,
               r.title as title,
               r.description as content,
               r.mime_type as mime,
               '' as keywords,
           'text' as storage_type
        from cr_revisions r
        where revision_id = :object_id

    } -column_array datasource

    return [array get datasource]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: