modules/Reports/schedule/ReportSchedule.php

Show: inherited
Table of Contents

\ReportSchedule

Package:

Properties

Propertypublic  $db= ''
Details
Type
n/a
Propertypublic  $table_name= ''report_schedules''
Default value'report_schedules'Details
Type
n/a

Methods

methodpublicReportSchedule( ) : void

methodpublicdrop_tables( ) : void

Details
Deprecated
deprecated since this syntax is only supported by MySQL  
methodprotectedfromConvertReportScheduleDBRow(  $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
Name Type Description
$row
Returns
Type Description
\converted row TODO XXX Move this whole module to use SugarBeans
methodpublicgetNextRunDate(  $date_start,  $interval ) : void

Parameters
Name Type Description
$date_start
$interval
methodpublicget_ent_reports_to_email(  $user_id = '',  $schedule_type = "ent" ) : void

Parameters
Name Type Description
$user_id
$schedule_type
methodpublicget_report_schedule(  $report_id ) : void

Parameters
Name Type Description
$report_id
methodpublicget_report_schedule_for_user(  $report_id,  $user_id = '' ) : void

Parameters
Name Type Description
$report_id
$user_id
methodpublicget_reports_to_email(  $user_id = '',  $schedule_type = "pro" ) : void

Parameters
Name Type Description
$user_id
$schedule_type
methodpublicget_users_schedule(  $id = '' ) : void

Parameters
Name Type Description
$id
methodpublicmark_deleted(  $id ) : void

Parameters
Name Type Description
$id
methodpublicsave_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
methodpublicupdate_next_run_time(  $schedule_id,  $next_run,  $interval ) : void

Parameters
Name Type Description
$schedule_id
$next_run
$interval
Documentation was generated by DocBlox 0.18.1.