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
init() public method Initializes the object. This method is called at the end of the constructor. The default implementation will trigger an EVENT_INIT event. If you override this method, make sure you call the parent implementation at the end to ensure triggering of the event. public void init ( )
handleRequest() public method Handles the specified request. public yii\web\Response handleRequest ( $request )$request yii\web\Request The request to be handled return yii\web\Response The resulting response throws yii\web\NotFoundHttpException if the requested route is invalid
getPermissionsByUser() public abstract method Returns all permissions that the user has. public abstract yii\rbac\Permission[] getPermissionsByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Permission[] All permissions that the user has. The array is indexed by the permission names.
$useFileTransport public property Whether to save email messages as files under $fileTransportPath instead of sending them to the actual recipients. This is usually used during development for debugging purpose. See also $fileTransportPath. public boolean $useFileTransport = false
getDbConnection() protected method protected yii\mongodb\Connection getDbConnection ( )return yii\mongodb\Connection The DB connection as specified by $db.
validateModelClass() public method Validates the $modelClass attribute. public void validateModelClass ( )
$method public read-only property Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE. The value returned is turned into upper case. public string getMethod ( )
$data public property The data rows. Each array element represents one row of data (column name => column value). public array $data = []
beforeFilter() public method public void beforeFilter ( $event )$event yii\base\ActionEvent
Page 342 of 633