Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
lithium
g11n
catalog
Adapter
write
lithium\g11n\catalog\Adapter::write PHP Method
Adapter Class Documentation
Exibir arquivo
Open project: unionofrad/lithium
write()
public
method
Override this method in subclasses if you want the adapter to have write support. The method is expected to return
false
if the passed category is not supported. Please note that existing data is silently overwritten.
public
write
(
string
$category
,
string
$locale
,
string
$scope
,
array
$data
) :
false
$category
string
A category.
$locale
string
A locale identifier.
$scope
string
The scope for the current operation.
$data
array
The data to write.
return
false
This currently does nothing.
public function write($category, $locale, $scope, array $data) { return false; }
Adapter
_merge
_prepareForWrite
read
write