web\UploadedFile getInstancesByName()

getInstancesByName() public static method Returns an array of uploaded files corresponding to the specified file input name. This is mainly used when multiple files were uploaded and saved as 'files[0]', 'files[1]', 'files[n]'..., and you can retrieve them all by passing 'files' as the name. public static yii\web\UploadedFile[] getInstancesByName ( $name )$name string The name of the array of files return yii\web\UploadedFile[] The array of UploadedFile objects. Empty array is returne

i18n\Formatter asNtext()

asNtext() public method Formats the value as an HTML-encoded plain text with newlines converted into breaks. public string asNtext ( $value )$value string The value to be formatted. return string The formatted result.

authclient\clients\Facebook initUserAttributes()

initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.

db\mssql\Schema rollBackSavepoint()

rollBackSavepoint() public method Rolls back to a previously created savepoint. public void rollBackSavepoint ( $name )$name string The savepoint name

log\Target getContextMessage()

getContextMessage() protected method Generates the context information to be logged. The default implementation will dump user information, system variables, etc. protected string getContextMessage ( )return string The context information. If an empty string, it means no context information.

db\Migration dropTable()

dropTable() public method Builds and executes a SQL statement for dropping a DB table. public void dropTable ( $table )$table string The table to be dropped. The name will be properly quoted by the method.

web\Controller renderAjax()

renderAjax() public method Renders a view in response to an AJAX request. This method is similar to renderPartial() except that it will inject into the rendering result with JS/CSS scripts and files which are registered with the view. For this reason, you should use this method instead of renderPartial() to render a view to respond to an AJAX request. public string renderAjax ( $view, $params = [] )$view string The view name. Please refer to render() on how to specify a view name. $para

mongodb\Session destroySession()

destroySession() public method Session destroy handler. Do not call this method directly. public boolean destroySession ( $id )$id string Session ID return boolean Whether session is destroyed successfully

filters\AccessRule $allow

$allow public property Whether this is an 'allow' rule or 'deny' rule. public boolean $allow = null

data\Sort getAttributeOrders()

getAttributeOrders() public method Returns the currently requested sort information. public array getAttributeOrders ( $recalculate = false )$recalculate boolean Whether to recalculate the sort directions return array Sort directions indexed by attribute names. Sort direction can be either SORT_ASC for ascending order or SORT_DESC for descending order.