lithium\g11n\catalog\Adapter::write()

public method

Writes data.

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.

Parameters

  • string $category

    A category.

  • string $locale

    A locale identifier.

  • string $scope

    The scope for the current operation.

  • array $data

    The data to write.

Returns

false

This currently does nothing.

Source

	public function write($category, $locale, $scope, array $data) {
		return false;
	}