modules/Reports/schedule/ReportSchedule.php
\ReportSchedule
Package:
Properties
Methods
fromConvertReportScheduleDBRow(
$row
)
:
\converted
Converts datetime values from the database type NOTE that this is currently hardcoded as this whole module should be converted to using SugarBeans, which would make this obsolete
Parameters
Returns
Name | Type | Description |
---|---|---|
$row |
Type | Description |
---|---|
\converted | row TODO XXX Move this whole module to use SugarBeans |
getNextRunDate(
$date_start, $interval
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$date_start | ||
$interval |
get_ent_reports_to_email(
$user_id
=
'', $schedule_type
=
"ent"
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$user_id | ||
$schedule_type |
get_report_schedule_for_user(
$report_id, $user_id
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$report_id | ||
$user_id |
get_reports_to_email(
$user_id
=
'', $schedule_type
=
"pro"
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$user_id | ||
$schedule_type |
save_schedule(
$id, $user_id, $report_id, $date_start, $interval, $active, $schedule_type
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$id | ||
$user_id | ||
$report_id | ||
$date_start | ||
$interval | ||
$active | ||
$schedule_type |