AccountPrivacySettingForm
extends AbstractForm
in package
Uses
GenderTrait
Class AccountPrivacySettingForm.
Tags
Table of Contents
Constants
- VAR_NAME_KEY = 'var_name'
Properties
Methods
- boot() : void
- initialize() : void
- prepare() : void
- getDefaultPrivacyValue() : array<string|int, mixed>
- getProfilePrivacy() : array<string|int, mixed>
Constants
VAR_NAME_KEY
public
mixed
VAR_NAME_KEY
= 'var_name'
Properties
$resource
public
User
$resource
Methods
boot()
public
boot(int $id, UserRepositoryInterface $repository) : void
Parameters
- $id : int
- $repository : UserRepositoryInterface
initialize()
public
initialize() : void
prepare()
protected
prepare() : void
getDefaultPrivacyValue()
private
getDefaultPrivacyValue() : array<string|int, mixed>
Return values
array<string|int, mixed>getProfilePrivacy()
private
getProfilePrivacy() : array<string|int, mixed>