CRM_Report_Utils_Report
class CRM_Report_Utils_Report
Methods
No description
No description
No description
No description
No description
get instance count for a template.
No description
Utility function for export2csv and CRM_Report_Form::endPostProcess - make CSV file content and return as string.
No description
No description
No description
Check if the user can view a report instance based on their role(s)
No description
Build a URL query string containing all report filter criteria that are stipulated in $_GET or in a report Preview, but which haven't yet been saved in the report instance.
No description
Details
at line 42
static null|string
getValueFromUrl(int $instanceID = NULL)
at line 69
static array|bool
getValueIDFromUrl(int $instanceID = NULL)
at line 85
static mixed
getInstanceIDForValue($optionVal)
at line 104
static mixed
getInstanceIDForPath(null $path = NULL)
at line 130
static bool|string
getNextUrl($urlValue, string $query = 'reset=1', bool $absolute = FALSE, int $instanceID = NULL, array $drilldownReport = [])
at line 163
static int|null|string
getInstanceCount($optionVal)
get instance count for a template.
at line 186
static bool
mailReport($fileContent, int $instanceID = NULL, string $outputMode = 'html', array $attachments = [])
at line 224
static
export2csv(CRM_Core_Form $form, $rows)
at line 244
static string
makeCsv(CRM_Core_Form $form, array $rows)
Utility function for export2csv and CRM_Report_Form::endPostProcess - make CSV file content and return as string.
at line 311
static mixed
getInstanceID()
at line 328
static string
getInstancePath()
at line 346
static bool
isInstancePermissioned(int $instanceId)
at line 379
static bool
isInstanceGroupRoleAllowed(int $instanceId)
Check if the user can view a report instance based on their role(s)
at line 409
static array
processReport(array $params)
at line 481
static string
getPreviewCriteriaQueryParams(array $defaults = [], array $params = [])
Build a URL query string containing all report filter criteria that are stipulated in $_GET or in a report Preview, but which haven't yet been saved in the report instance.