Webenq_Model_Report

This class has been auto-generated by the Doctrine ORM Framework

package Webenq_Models
author Bart Huttinga
subpackage
version SVN: $Id: Builder.php,v 1.2 2011/07/12 13:39:03 bart Exp $

 Methods

Sets the report title for a given language

addReportTitle(string $language, string $title) : \Webenq_Model_Report
fluent This method is part of a fluent interface and will return the same instance

Parameters

$language

string

The language to set the title for

$title

string

The report title for the given language

Returns

Fills record with data in array and fills related objects with translations

fromArray(array $array, bool $deep) 
see \Doctrine_Record::fromArray()

Parameters

$array

array

$deep

bool

Gets the report title in the given, current or preferred language.

getReportTitle(string $language) : \Webenq_Model_ReportText

Creates an empty translation if nothing was found and the report exists in the database.

Parameters

$language

string

Returns

\Webenq_Model_ReportText

getReports()

getReports($id) 
Static

Parameters

$id

setTableDefinition()

setTableDefinition() 
Inherited
inherited_from \Webenq_Model_Base_Report::setTableDefinition()

setUp()

setUp() 
Inherited
inherited_from \Webenq_Model_Base_Report::setUp()