0 follower

Yii Framework 3.0 API Documentation

This is the Yii Framework API Documentation. Here you will find detailed information about all classes provided by the Framework. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 3.0 of the framework. You can use the dropdown menu on the top right to switch between versions.

You can search API documentation using the search form on the top. You can search for class names and also method and property names, e.g. ActiveRecord.save() or just .save() or ::save().

This page is also available in JSON format:
curl https://www.yiiframework.com/doc/api/3.0/translator -H 'Accept: application/json'

Class Description
Yiisoft\Translator\CategorySource Represents message category.
Yiisoft\Translator\Event\MissingTranslationCategoryEvent The event is thrown when translation category is missing.
Yiisoft\Translator\Event\MissingTranslationEvent The event is thrown when translation is missing.
Yiisoft\Translator\Extractor\ContentParser Extracts translation keys from a string given.
Yiisoft\Translator\Extractor\TranslationExtractor Extracts translator IDs from files within a given path.
Yiisoft\Translator\IdMessageReader ID message reader returns ID as message and doesn't support getting all messages at once.
Yiisoft\Translator\InMemoryMessageSource InMemoryMessageSource is a simple in-memory message source that can be used for testing purposes.
Yiisoft\Translator\IntlMessageFormatter
Yiisoft\Translator\MessageFormatterInterface Message formatter formats the message using parameters and taking locale into account.
Yiisoft\Translator\MessageReaderInterface Reader obtains a translated message for a given locale by ID and category. Parameters may be used to decide about the message to obtain as well.
Yiisoft\Translator\MessageWriterInterface Message writer writes a set of messages for a specified category and locale.
Yiisoft\Translator\NullMessageFormatter
Yiisoft\Translator\SimpleMessageFormatter
Yiisoft\Translator\Translator Translator translates a message into the specified language.
Yiisoft\Translator\TranslatorInterface Translator translates a message into the specified language.
Yiisoft\Translator\UnwritableCategorySourceException