Class humhub\models\forms\UploadProfileImage

Inheritancehumhub\models\forms\UploadProfileImage » yii\base\Model
Available since version0.5

UploadProfileImageForm allows uploads of profile images.

Profile images will used by spaces or users.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$image String Uploaded image humhub\models\forms\UploadProfileImage

Public Methods

Hide inherited methods

MethodDescriptionDefined By
attributeLabels() Declares attribute labels. humhub\models\forms\UploadProfileImage
rules() Declares the validation rules. humhub\models\forms\UploadProfileImage

Property Details

$image public property

Uploaded image

public String $image null

Method Details

attributeLabels() public method

Declares attribute labels.

public void attributeLabels ( )
rules() public method

Declares the validation rules.

public Array rules ( )
return Array

Validation Rules