calendar::rename (public)

 calendar::rename -calendar_id calendar_id -calendar_name calendar_name

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

rename a calendar

Switches:
-calendar_id (required)
-calendar_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_calendar_basic_api calendar_basic_api (test calendar) calendar::rename calendar::rename test_calendar_basic_api->calendar::rename db_dml db_dml (public) calendar::rename->db_dml packages/calendar/www/admin/calendar-edit.tcl packages/calendar/ www/admin/calendar-edit.tcl packages/calendar/www/admin/calendar-edit.tcl->calendar::rename

Testcases:
calendar_basic_api
Source code:
    db_dml rename_calendar {}
Generic XQL file:
<fullquery name="calendar::rename.rename_calendar">
    <querytext>		
	update calendars
	set calendar_name = :calendar_name
	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: