web\MultipartFormDataParser getUploadFileMaxCount()

getUploadFileMaxCount() public method public integer getUploadFileMaxCount ( )return integer Maximum upload files count.

web\MultipartFormDataParser parse()

parse() public method Parses a HTTP request body. public array parse ( $rawBody, $contentType )$rawBody string The raw HTTP request body. $contentType string The content type specified for the request body. return array Parameters parsed from the request body

web\MultipartFormDataParser setUploadFileMaxCount()

setUploadFileMaxCount() public method public void setUploadFileMaxCount ( $uploadFileMaxCount )$uploadFileMaxCount integer Maximum upload files count.

web\MultipartFormDataParser $uploadFileMaxSize

$uploadFileMaxSize public property Upload file max size in bytes. public integer getUploadFileMaxSize ( )public void setUploadFileMaxSize ( $uploadFileMaxSize )

web\MultiFieldSession getUseCustomStorage()

getUseCustomStorage() public method Returns a value indicating whether to use custom session storage. This method overrides the parent implementation and always returns true. public boolean getUseCustomStorage ( )return boolean Whether to use custom storage.

web\MultipartFormDataParser $uploadFileMaxCount

$uploadFileMaxCount public property Maximum upload files count. public integer getUploadFileMaxCount ( )public void setUploadFileMaxCount ( $uploadFileMaxCount )

web\MultiFieldSession composeFields()

composeFields() protected method Composes storage field set for session writing. protected array composeFields ( $id, $data )$id string Session id $data string Session data return array Storage fields

web\MultiFieldSession $writeCallback

$writeCallback public property A callback that will be called during session data writing. The signature of the callback should be as follows: function ($session) where $session is this session instance, this variable can be used to retrieve session data. Callback should return the actual fields set, which should be saved into the session storage. For example: function ($session) { return [ 'user_id' => Yii::$app->user->id, 'ip' => $_SERVER['REMOTE_ADDR'],

web\MultiFieldSession extractData()

extractData() protected method Extracts session data from storage field set. protected string extractData ( $fields )$fields array Storage fields. return string Session data.

web\MultiFieldSession $useCustomStorage

$useCustomStorage public read-only property Whether to use custom storage. public boolean getUseCustomStorage ( )