Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MetaModels
MetaModel
getDatabase
MetaModels\MetaModel::getDatabase PHP Method
MetaModel Class Documentation
Show file
Open project: metamodels/core
getDatabase()
protected
method
Retrieve the database instance to use.
protected
getDatabase
( ) :
Database
return
Contao\Database
protected function getDatabase() { return $this->serviceContainer->getDatabase(); }
MetaModel
__construct
addAttribute
buildDatabaseParameterList
convertRowsToResult
copyFilter
createNewItem
delete
fetchAdditionalAttributes
fetchRows
fetchTranslatedAttributeValues
findByFilter
findById
findVariantBase
findVariants
findVariantsWithBase
get
getActiveLanguage
getAttribute
getAttributeById
getAttributeByNames
getAttributeImplementing
getAttributeOptions
getAttributes
getAvailableLanguages
getComplexAttributes
getCount
getDatabase
getEmptyFilter
getFallbackLanguage
getIdsFromFilter
getInVariantAttributes
getItemsWithId
getMatchingIds
getName
getServiceContainer
getSimpleAttributes
getTableName
getTranslatedAttributes
getView
hasAttribute
hasVariants
isComplexAttribute
isSimpleAttribute
isTranslated
isTranslatedAttribute
prepareFilter
saveAttribute
saveItem
saveSimpleColumn
setServiceContainer
tryUnserialize
updateVariants