- Publicity: Public Only All
calendar-compatibility-procs.tcl
These procs are there to ensure backwards compatibility for possible API breakages. Once it is sure that an old proc interface is not used anymore it should be removed from this file. Also move unused or deprecated procs here so that we avoid cluttering up the other files.
- Location:
- packages/calendar/tcl/calendar-compatibility-procs.tcl
- Created:
- Feb 19, 2004
- Author:
- Dirk Gomez <openacs@dirkgomez.de>
- CVS Identification:
$Id: calendar-compatibility-procs.tcl,v 1.5.2.1 2020/02/09 15:30:16 gustafn Exp $
Procedures in this file
- calendar_assign_permissions (public, deprecated)
- calendar_create (public, deprecated)
- calendar_have_private_p (public, deprecated)
- calendar_make_datetime (public, deprecated)
Detailed information
calendar_assign_permissions (public, deprecated)
calendar_assign_permissions calendar_id party_id cal_privilege \ [ revoke ]
Deprecated. Invoking this procedure generates a warning.
- Parameters:
- calendar_id (required)
- party_id (required)
- cal_privilege (required)
- revoke (optional)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
calendar_create (public, deprecated)
calendar_create owner_id private_p [ calendar_name ]
Deprecated. Invoking this procedure generates a warning.
- Parameters:
- owner_id (required)
- private_p (required)
- calendar_name (optional)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
calendar_have_private_p (public, deprecated)
calendar_have_private_p [ -return_id return_id ] \ [ -calendar_id_list calendar_id_list ] party_id
Deprecated. Invoking this procedure generates a warning.
- Switches:
- -return_id (optional, defaults to
"0"
)- -calendar_id_list (optional)
- Parameters:
- party_id (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
calendar_make_datetime (public, deprecated)
calendar_make_datetime event_date [ event_time ]
Deprecated. Invoking this procedure generates a warning.
given a date, and a time, construct the proper date string to be imported into oracle. (yyyy-mm-dd hh24:mi format)
- Parameters:
- event_date (required)
- event_time (optional)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Content File Source
ad_library { These procs are there to ensure backwards compatibility for possible API breakages. Once it is sure that an old proc interface is not used anymore it should be removed from this file. Also move unused or deprecated procs here so that we avoid cluttering up the other files. @author Dirk Gomez (openacs@dirkgomez.de) @creation-date Feb 19, 2004 @cvs-id $Id: calendar-compatibility-procs.tcl,v 1.5.2.1 2020/02/09 15:30:16 gustafn Exp $ } d_proc -deprecated calendar_have_private_p { {-return_id 0} {-calendar_id_list {}} party_id } { @see calendar::have_private_p } { calendar::have_private_p -return_id $return_id -calendar_id_list $calendar_id_list $party_id } d_proc -deprecated calendar_assign_permissions { calendar_id party_id cal_privilege {revoke ""} } { @see calendar::assign_permissions } { calendar::assign_permissions $calendar_id \ $party_id \ $cal_privilege \ $revoke } d_proc -deprecated calendar_create { owner_id private_p {calendar_name ""} } { @see calendar::create } { calendar::create $owner_id $private_p $calendar_name } d_proc -deprecated calendar_make_datetime { event_date {event_time ""} } { given a date, and a time, construct the proper date string to be imported into oracle. (yyyy-mm-dd hh24:mi format) @see calendar::make_datetime } { calendar::make_datetime $event_date $event_time } # Local variables: # mode: tcl # tcl-indent-level: 4 # indent-tabs-mode: nil # End: