modules/Calendar/CalendarActivity.php

Show: inherited
Table of Contents

\CalendarActivity

Package:

Properties

Propertypublic  $end_time= ''
Details
Type
n/a
Propertypublic  $start_time= ''
Details
Type
n/a
Propertypublic  $sugar_bean= ''
Details
Type
n/a

Methods

methodpublic__construct(  $args ) : void

Parameters
Name Type Description
$args
methodpublicget_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
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
Returns
Type Description
array
methodpublicget_freebusy_activities(  $user_focus,  $start_date_time,  $end_date_time ) : void

Parameters
Name Type Description
$user_focus
$start_date_time
$end_date_time
methodpublicget_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
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

Returns
Type Description
string
Documentation was generated by DocBlox 0.18.1.