mongodb\file\Collection insertFile()

insertFile() public method Creates new file in GridFS collection from given local filesystem file. Additional attributes can be added file document using $metadata. public mixed insertFile ( $filename, $metadata = [], $options = [] )$filename string Name of the file to store. $metadata array Other metadata fields to include in the file document. $options array List of options in format: optionName => optionValue return mixed The "_id" of the saved file document. This will be a g

base\Controller EVENT_AFTER_ACTION

EVENT_AFTER_ACTION event of type yii\base\ActionEvent An event raised right after executing a controller action.

base\Controller getRoute()

getRoute() public method Returns the route of the current request. public string getRoute ( )return string The route (module ID, controller ID and action ID) of the current request.

base\Widget setId()

setId() public method Sets the ID of the widget. public void setId ( $value )$value string Id of the widget.

authclient\BaseClient setViewOptions()

setViewOptions() public method public void setViewOptions ( $viewOptions )$viewOptions array View options in format: optionName => optionValue

authclient\BaseClient setTitle()

setTitle() public method public void setTitle ( $title )$title string Service title.

web\Session setHasSessionId()

setHasSessionId() public method Sets the value indicating whether the current request has sent the session ID. This method is provided so that you can override the default way of determining whether the session ID is sent. public void setHasSessionId ( $value )$value boolean Whether the current request has sent the session ID.

widgets\BaseListView $dataProvider

$dataProvider public property The data provider for the view. This property is required. public yii\data\DataProviderInterface $dataProvider = null

base\Controller run()

run() public method Runs a request specified in terms of a route. The route can be either an ID of an action within this controller or a complete route consisting of module IDs, controller ID and action ID. If the route starts with a slash '/', the parsing of the route will start from the application; otherwise, it will start from the parent module of this controller. See also runAction(). public mixed run ( $route, $params = [] )$route string The route to be handled, e.g., 'view', 'comm

web\Response getIsSuccessful()

getIsSuccessful() public method public boolean getIsSuccessful ( )return boolean Whether this response is successful