mail\MailerInterface compose()

compose() public abstract method Creates a new message instance and optionally composes its body content via view rendering. public abstract yii\mail\MessageInterface compose ( $view = null, array $params = [] )$view string|array|null The view to be used for rendering the message body. This can be: a string, which represents the view name or path alias for rendering the HTML body of the email. In this case, the text body will be generated by applying strip_tags() to the HTML body. an a

console\controllers\AssetController actionTemplate()

actionTemplate() public method Creates template of configuration file for actionCompress(). public integer actionTemplate ( $configFile )$configFile string Output file name. return integer CLI exit code throws yii\console\Exception on failure.

widgets\FragmentCache $cache

$cache public property The cache object or the application component ID of the cache object. After the FragmentCache object is created, if you want to change this property, you should only assign it with a cache object. Starting from version 2.0.2, this can also be a configuration array for creating the object. public yii\caching\Cache|array|string $cache = 'cache'

base\View beginContent()

beginContent() public method Begins the rendering of content that is to be decorated by the specified view. This method can be used to implement nested layout. For example, a layout can be embedded in another layout file specified as '@app/views/layouts/base.php' like the following: <?php $this->beginContent('@app/views/layouts/base.php'); ?> //...layout content here... <?php $this->endContent(); ?> See also yii\widgets\ContentDecorator. public yii\widgets\ContentDecora

elasticsearch\Query postFilter()

postFilter() public method (available since version 2.0.5) Set the post_filter part of the search query. See also $postFilter. public $this postFilter ( $filter )$filter string|array return $this The query object itself

rbac\ManagerInterface revoke()

revoke() public abstract method Revokes a role from a user. public abstract boolean revoke ( $role, $userId )$role yii\rbac\Role $userId string|integer The user ID (see yii\web\User::$id) return boolean Whether the revoking is successful

web\DbSession regenerateID()

regenerateID() public method Updates the current session ID with a newly generated one . Please refer to http://php.net/session_regenerate_id for more details. public void regenerateID ( $deleteOldSession = false )$deleteOldSession boolean Whether to delete the old associated session file or not.

sphinx\Connection $enableFloatConversion

$enableFloatConversion public property (available since version 2.0.6) Whether to enable conversion of the float query params into the direct literal SQL insertion. This allows processing of the float values, since PDO does not provide specific param type for float binding, while Sphinx is unable to process float values passed as quoted strings. public boolean $enableFloatConversion = true

db\SchemaBuilderTrait dateTime()

dateTime() public method (available since version 2.0.6) Creates a datetime column. public yii\db\ColumnSchemaBuilder dateTime ( $precision = null )$precision integer Column value precision. First parameter passed to the column type, e.g. DATETIME(precision). This parameter will be ignored if not supported by the DBMS. return yii\db\ColumnSchemaBuilder The column instance which can be further customized.

widgets\ListView renderItems()

renderItems() public method Renders all data models. public string renderItems ( )return string The rendering result