You are here

public function S3fsCorsPostObjectV4::setFormAttribute in S3 File System CORS Upload 7

Set a form attribute.

Parameters

string $attribute Form attribute to set.:

string $value Value to set.:

File

./s3fs_cors.post_object_v4.class.inc, line 121
The code of classes was taken from the AWS SDK v3.180.3 and a bit modified. Next classes are used here:

Class

S3fsCorsPostObjectV4
Encapsulates the logic for getting the data for an S3 object POST upload form

Code

public function setFormAttribute($attribute, $value) {
  $this->formAttributes[$attribute] = $value;
}