2014-09-07 00:33:46 +02:00
|
|
|
<?php
|
|
|
|
namespace Szurubooru\FormData;
|
|
|
|
|
|
|
|
class UserEditFormData
|
|
|
|
{
|
|
|
|
public $userName;
|
|
|
|
public $email;
|
|
|
|
public $accessRank;
|
|
|
|
public $password;
|
|
|
|
public $avatarStyle;
|
2014-09-07 14:50:16 +02:00
|
|
|
public $browsingSettings;
|
2014-09-07 00:33:46 +02:00
|
|
|
|
|
|
|
public function __construct($inputReader = null)
|
|
|
|
{
|
|
|
|
if ($inputReader !== null)
|
|
|
|
{
|
|
|
|
$this->userName = $inputReader->userName;
|
|
|
|
$this->email = $inputReader->email;
|
|
|
|
$this->password = $inputReader->password;
|
|
|
|
$this->accessRank = $inputReader->accessRank;
|
|
|
|
$this->avatarStyle = $inputReader->avatarStyle;
|
|
|
|
$this->avatarContent = $inputReader->avatarContent;
|
2014-09-07 14:50:16 +02:00
|
|
|
$this->browsingSettings = $inputReader->browsingSettings;
|
2014-09-07 00:33:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|