setName() public method public void setName ( $name )$name string Service name.
loadMessagesFromDb() protected method Loads the messages from MongoDB. You may override this method to customize the message storage in the MongoDB. protected array loadMessagesFromDb ( $category, $language )$category string The message category. $language string The target language. return array The messages loaded from database.
$view public read-only property The view application component that is used to render various view files. public yii\base\View|yii\web\View getView ( )
renderItems() public method Renders widget items. public void renderItems ( )
query() public method Executes this command as a mongo query public \MongoDB\Driver\Cursor query ( $collectionName, $options = [] )$collectionName string Collection name $options array Query options. return \MongoDB\Driver\Cursor Result cursor. throws yii\mongodb\Exception on failure
$suffix public property The URL suffix used for this rule. For example, ".html" can be used so that the URL looks like pointing to a static HTML page. If not, the value of yii\web\UrlManager::$suffix will be used. public string $suffix = null
initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.
$sourceLanguage public property The language that the application is written in. This mainly refers to the language that the messages and view files are written in. See also $language. public string $sourceLanguage = 'en-US'
$baseUrl public property The base URL (without ending slash) for this theme. All resources of this theme are considered to be under this base URL. public string getBaseUrl ( )public void setBaseUrl ( $url )
findTableNames() protected method Returns all table names in the database. This method should be overridden by child classes in order to support this feature because the default implementation simply throws an exception. protected array findTableNames ( $schema = '' )$schema string The schema of the tables. Defaults to empty string, meaning the current or default schema. return array All table names in the database. The names have NO schema name prefix. throws yii\base\NotSupportedExc
Page 505 of 633