calendar::fts::datasource (private)

 calendar::fts::datasource cal_item_id

Defined in packages/calendar/tcl/calendar-sc-procs.tcl

returns a datasource for a calendar event to be indexed by the full text search engine.

Parameters:
cal_item_id (required)
Author:
davis@xarg.net
Created:
2004-04-01

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.ftscontentprovider.datasource.cal_item AcsSc.ftscontentprovider.datasource.cal_item (private) calendar::fts::datasource calendar::fts::datasource AcsSc.ftscontentprovider.datasource.cal_item->calendar::fts::datasource calendar::item::get calendar::item::get (public) calendar::fts::datasource->calendar::item::get

Testcases:
No testcase defined.
Source code:
    calendar::item::get -cal_item_id $cal_item_id -array row

    # build a text content 
    foreach key {description pretty_day_of_week start_time end_time full_start_date start_date_ansi} {
        if {$key eq "start_time"} { 
            append content "from "
        }
        if {$key eq "end_time"} { 
            append content "to "
        }
        append content "$row($key) "

    }

    return [list object_id $cal_item_id  title $row(name)  content $content  keywords {}  storage_type text  mime text/plain ]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: