class Config extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
string $name
string $sql
string[] $dataSourceConfig
array $columnConfiguration
string $niceName
string $group
string $groupIconClass
string $iconClass
bool $menuShortcut
string $reportClass
string $chartType
string $pieColumn
string $pieLabelColumn
string $xAxis
string|array $yAxis
int $modificationDate
int $creationDate

Methods

Dao
getDao()

No description

setDao($dao)

No description

getResource() deprecated

No description

initDao(null $key = null, bool $forceDetection = false)

No description

static string|null
locateDaoClass(string $modelClass)

No description

$this
setValues(array $data = [])

No description

$this
setValue($key, $value)

No description

array
__sleep()

No description

mixed
__call($method, $args)

No description

__clone()

No description

array
getObjectVars()

returns object values without the dao

array
__debugInfo()

No description

void
beginTransaction()

No description

void
commit()

No description

void
rollBack()

No description

void
configure()

No description

array
getValidTableColumns(string $table, bool $cache)

No description

void
resetValidTableColumnsCache(string $table)

No description

static null|Config
getByName($name)

No description

static array
getReportsList()

No description

getAdapter($configuration, null $fullConfig = null) deprecated

No description

setName(string $name)

No description

string
getName()

No description

setSql(string $sql)

No description

string
getSql()

No description

setColumnConfiguration(array $columnConfiguration)

No description

array
getColumnConfiguration()

No description

setGroup(string $group)

No description

string
getGroup()

No description

setGroupIconClass(string $groupIconClass)

No description

string
getGroupIconClass()

No description

setIconClass(string $iconClass)

No description

string
getIconClass()

No description

setNiceName(string $niceName)

No description

string
getNiceName()

No description

setMenuShortcut(bool $menuShortcut)

No description

bool
getMenuShortcut()

No description

setDataSourceConfig(string[] $dataSourceConfig)

No description

string[]
getDataSourceConfig()

No description

setChartType(string $chartType)

No description

string
getChartType()

No description

setPieColumn(string $pieColumn)

No description

string
getPieColumn()

No description

setXAxis(string $xAxis)

No description

string
getXAxis()

No description

setYAxis(array|string $yAxis)

No description

array|string
getYAxis()

No description

setPieLabelColumn(string $pieLabelColumn)

No description

string
getPieLabelColumn()

No description

int
getModificationDate()

No description

setModificationDate(int $modificationDate)

No description

int
getCreationDate()

No description

setCreationDate(int $creationDate)

No description

string
getReportClass()

No description

setReportClass(string $reportClass)

No description

Details

Dao getDao()

Return Value

Dao

AbstractModel setDao($dao)

Parameters

$dao

Return Value

AbstractModel

AbstractDao getResource() deprecated

deprecated

Return Value

AbstractDao

initDao(null $key = null, bool $forceDetection = false)

Parameters

null $key
bool $forceDetection

Exceptions

Exception

static string|null locateDaoClass(string $modelClass)

Parameters

string $modelClass

Return Value

string|null

$this setValues(array $data = [])

Parameters

array $data

Return Value

$this

$this setValue($key, $value)

Parameters

$key
$value

Return Value

$this

array __sleep()

Return Value

array

mixed __call($method, $args)

Parameters

$method
$args

Return Value

mixed

Exceptions

Exception

__clone()

array getObjectVars()

returns object values without the dao

Return Value

array

array __debugInfo()

Return Value

array

void beginTransaction()

Return Value

void

void commit()

Return Value

void

void rollBack()

Return Value

void

void configure()

Return Value

void

array getValidTableColumns(string $table, bool $cache)

Parameters

string $table
bool $cache

Return Value

array

void resetValidTableColumnsCache(string $table)

Parameters

string $table

Return Value

void

static null|Config getByName($name)

Parameters

$name

Return Value

null|Config

static array getReportsList()

Return Value

array

static CustomReportAdapterInterface getAdapter($configuration, null $fullConfig = null) deprecated

deprecated Use ServiceLocator with id 'pimcore.custom_report.adapter.factories' to determine the factory for the adapter instead

Parameters

$configuration
null $fullConfig

Return Value

CustomReportAdapterInterface

setName(string $name)

Parameters

string $name

string getName()

Return Value

string

setSql(string $sql)

Parameters

string $sql

string getSql()

Return Value

string

setColumnConfiguration(array $columnConfiguration)

Parameters

array $columnConfiguration

array getColumnConfiguration()

Return Value

array

setGroup(string $group)

Parameters

string $group

string getGroup()

Return Value

string

setGroupIconClass(string $groupIconClass)

Parameters

string $groupIconClass

string getGroupIconClass()

Return Value

string

setIconClass(string $iconClass)

Parameters

string $iconClass

string getIconClass()

Return Value

string

setNiceName(string $niceName)

Parameters

string $niceName

string getNiceName()

Return Value

string

setMenuShortcut(bool $menuShortcut)

Parameters

bool $menuShortcut

bool getMenuShortcut()

Return Value

bool

setDataSourceConfig(string[] $dataSourceConfig)

Parameters

string[] $dataSourceConfig

string[] getDataSourceConfig()

Return Value

string[]

setChartType(string $chartType)

Parameters

string $chartType

string getChartType()

Return Value

string

setPieColumn(string $pieColumn)

Parameters

string $pieColumn

string getPieColumn()

Return Value

string

setXAxis(string $xAxis)

Parameters

string $xAxis

string getXAxis()

Return Value

string

setYAxis(array|string $yAxis)

Parameters

array|string $yAxis

array|string getYAxis()

Return Value

array|string

setPieLabelColumn(string $pieLabelColumn)

Parameters

string $pieLabelColumn

string getPieLabelColumn()

Return Value

string

int getModificationDate()

Return Value

int

setModificationDate(int $modificationDate)

Parameters

int $modificationDate

int getCreationDate()

Return Value

int

setCreationDate(int $creationDate)

Parameters

int $creationDate

string getReportClass()

Return Value

string

setReportClass(string $reportClass)

Parameters

string $reportClass