modules/Calendar/CalendarActivity.php
\CalendarActivity
Package:
Properties
Methods
get_activities(
string $user_id, boolean $show_tasks, \SugarDateTime $view_start_time, \SugarDateTime $view_end_time, string $view, boolean $show_calls
=
true
)
:
array
Get array of activities
Parameters
Returns
Name | Type | Description |
---|---|---|
$user_id | string | |
$show_tasks | boolean | |
$view_start_time | \SugarDateTime | start date |
$view_end_time | \SugarDateTime | end date |
$view | string | view; not used for now, left for compatibility |
$show_calls | boolean |
Type | Description |
---|---|
array |
get_freebusy_activities(
$user_focus, $start_date_time, $end_date_time
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$user_focus | ||
$start_date_time | ||
$end_date_time |
get_occurs_within_where_clause(
string $table_name, string $rel_table, \SugarDateTime $start_ts_obj, \SugarDateTime $end_ts_obj, string $field_name
=
'date_start', string $view
)
:
string
Get where clause for fetching entried from DB
Parameters
Returns
Name | Type | Description |
---|---|---|
$table_name | string | t |
$rel_table | string | table for accept status, not used in Tasks |
$start_ts_obj | \SugarDateTime | start date |
$end_ts_obj | \SugarDateTime | end date |
$field_name | string | date field in table |
$view | string | view; not used for now, left for compatibility |
Type | Description |
---|---|
string |