Blesta Source Documentation

Reports extends Component

Factory class for creating Report objects

Table of Contents

Properties

$components
$helpers
$models

Methods

__construct()
create() Returns an instance of the requested report
Properties
Methods

create()

Returns an instance of the requested report

public static create(string $report_name) : mixed
Parameters
$report_name : string

The name of the report to instantiate

Tags
throws
Exception

Thrown when the report does not exist or does not inherit from the appropriate parent

Return values
mixed —

An object of type $report_name

Tags
subpackage

components.reports

copyright

Copyright (c) 2013, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results