calendar::get (public)

 calendar::get -calendar_id calendar_id [ -array array ]

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

Get calendar info

Switches:
-calendar_id (required)
-array (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_calendar_basic_api calendar_basic_api (test calendar) calendar::get calendar::get test_calendar_basic_api->calendar::get db_1row db_1row (public) calendar::get->db_1row calendar::personal_p calendar::personal_p (public) calendar::personal_p->calendar::get

Testcases:
calendar_basic_api
Source code:
    if {[info exists array]} {
        upvar 1 $array row
    }
    db_1row select_calendar {} -column_array row
    return [array get row]
Generic XQL file:
<fullquery name="calendar::get.select_calendar">
    <querytext>
	select  calendar_id,
	        calendar_name,
                private_p,
                owner_id,
                package_id
	from    calendars
	where   calendar_id = :calendar_id
    </querytext>
</fullquery>
packages/calendar/tcl/calendar-procs.xql

PostgreSQL XQL file:
packages/calendar/tcl/calendar-procs-postgresql.xql

Oracle XQL file:
packages/calendar/tcl/calendar-procs-oracle.xql

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