UserProfile
        
        extends Model
    
    
            
            in package
            
        
    
            
            implements
                            Entity,                             HasAvatarMorph,                             HasCoverMorph                    
    
            
            Uses
                            HasEntity,                             HasAvatarMorphTrait,                             HasCoverMorphTrait                    
    
Class UserProfile.
Tags
Table of Contents
Interfaces
- Entity
 - Interface Entity.
 - HasAvatarMorph
 - Interface HasAvatar.
 - HasCoverMorph
 - Interface HasCoverMorph
 
Constants
- BIO_MAX_LENGTH_LIMIT = 100
 - ENTITY_TYPE = 'user_profile'
 
Properties
- $address : string
 - $birthday : string|null
 - $birthday_doy : int|null
 - $birthday_month : int|null
 - $birthday_search : string|null
 - $city_location : string
 - $country_city_code : string
 - $country_iso : string|null
 - $country_state_id : string
 - $cover_photo_position : string
 - $currency_id : string
 - $dst_check : int
 - $footer_bar : int
 - $full_phone_number : string
 - $gender : UserGender|null
 - $gender_id : int
 - $hide_tip : int
 - $im_beep : int
 - $im_hide : int
 - $incrementing : mixed
 - $invite_user : User
 - $invite_user_id : int
 - $language_id : string
 - $possessive_gender : string
 - $postal_code : string
 - $preferences_value : Collection|null
 - $previous_relation_type : int
 - $previous_relation_with : int
 - $relation : int
 - $relation_with : int
 - $relationship : UserRelation
 - $relationship_text : string|null
 - $server_id : string
 - $status : string
 - $style_id : int
 - $timezone_id : int
 - $total_spam : int
 - $user : User
 - $appends : array<string|int, string>
 - $fillable : mixed
 - $with : mixed
 
Methods
- avatar() : MorphTo
 - booted() : mixed
 - cover() : MorphTo
 - entityId() : int
 - entityType() : string
 - gender() : BelongsTo
 - genderObject() : mixed
 - getAboutMeAttribute() : string
 - getAvatarDataEmpty() : array<string|int, mixed>
 - getAvatarId() : int|null
 - getAvatarType() : string|null
 - getBioAttribute() : string
 - getCoverDataEmpty() : array<string|int, mixed>
 - getCoverId() : int
 - getCoverType() : string
 - getHobbiesAttribute() : string
 - getInterestAttribute() : string
 - getOwnerAttribute() : mixed
 - getPossessiveGenderAttribute() : string
 - getPreferencesValueAttribute() : Collection|null
 - getProfileMenus() : array<string|int, array<string|int, mixed>>
 - getUserAttribute() : mixed
 - isOwner() : bool
 - moduleName() : string
 - owner() : BelongsTo
 - ownerEntity() : BelongsTo
 - preferences() : HasMany
 - relationship() : HasOne
 - relationWithUser() : BelongsTo
 - user() : BelongsTo
 - userEntity() : BelongsTo
 - countryIso() : Attribute
 - getCurrencyIdAttribute() : string
 - getLanguageIdAttribute() : string
 - getRelationshipTextAttribute() : string|null
 - getTimezoneId() : int
 - timezoneId() : Attribute
 
Constants
BIO_MAX_LENGTH_LIMIT
    public
        mixed
    BIO_MAX_LENGTH_LIMIT
    = 100
    
    
    
ENTITY_TYPE
    public
        mixed
    ENTITY_TYPE
    = 'user_profile'
    
    
    
Properties
$address
    public
        string
    $address
    
    
    
    
$birthday
    public
        string|null
    $birthday
    
    
    
    
$birthday_doy
    public
        int|null
    $birthday_doy
    
    
    
    
$birthday_month
    public
        int|null
    $birthday_month
    
    
    
    
$birthday_search
    public
        string|null
    $birthday_search
    
    
    
    
$city_location
    public
        string
    $city_location
    
    
    
    
$country_city_code
    public
        string
    $country_city_code
    
    
    
    
$country_iso
    public
        string|null
    $country_iso
    
    
    
    
$country_state_id
    public
        string
    $country_state_id
    
    
    
    
$cover_photo_position
    public
        string
    $cover_photo_position
    
    
    
    
$currency_id
    public
        string
    $currency_id
    
    
    
    
$dst_check
    public
        int
    $dst_check
    
    
    
    
$footer_bar
    public
        int
    $footer_bar
    
    
    
    
$full_phone_number
    public
        string
    $full_phone_number
    
    
    
    
$gender
    public
        UserGender|null
    $gender
    
    
    
    
$gender_id
    public
        int
    $gender_id
    
    
    
    
$hide_tip
    public
        int
    $hide_tip
    
    
    
    
$im_beep
    public
        int
    $im_beep
    
    
    
    
$im_hide
    public
        int
    $im_hide
    
    
    
    
$incrementing
    public
        mixed
    $incrementing
     = false
    
    
    
$invite_user
    public
        User
    $invite_user
    
    
    
    
$invite_user_id
    public
        int
    $invite_user_id
    
    
    
    
$language_id
    public
        string
    $language_id
    
    
    
    
$possessive_gender
    public
        string
    $possessive_gender
    
    
    
    
$postal_code
    public
        string
    $postal_code
    
    
    
    
$preferences_value
    public
        Collection|null
    $preferences_value
    
    
    
    
$previous_relation_type
    public
        int
    $previous_relation_type
    
    
    
    
$previous_relation_with
    public
        int
    $previous_relation_with
    
    
    
    
$relation
    public
        int
    $relation
    
    
    
    
$relation_with
    public
        int
    $relation_with
    
    
    
    
$relationship
    public
        UserRelation
    $relationship
    
    
    
    
$relationship_text
    public
        string|null
    $relationship_text
    
    
    
    
$server_id
    public
        string
    $server_id
    
    
    
    
$status
    public
        string
    $status
    
    
    
    
$style_id
    public
        int
    $style_id
    
    
    
    
$timezone_id
    public
        int
    $timezone_id
    
    
    
    
$total_spam
    public
        int
    $total_spam
    
    
    
    
$user
    public
        User
    $user
    
    
    
    
$appends
    protected
        array<string|int, string>
    $appends
     = ['possessive_gender']
    
    
    
$fillable
    protected
        mixed
    $fillable
     = ['id', 'user_id', 'full_phone_number', 'gender_id', 'birthday', 'birthday_doy', 'birthday_month', 'birthday_search', 'country_iso', 'country_state_id', 'country_city_code', 'city_location', 'postal_code', 'language_id', 'style_id', 'timezone_id', 'currency_id', 'dst_check', 'hide_tip', 'status', 'footer_bar', 'invite_user_id', 'im_beep', 'im_hide', 'total_spam', 'previous_relation_type', 'previous_relation_with', 'relation', 'relation_with', 'avatar_type', 'avatar_id', 'avatar_file_id', 'cover_id', 'cover_type', 'cover_file_id', 'cover_photo_position', 'address']
    
    
    
$with
    protected
        mixed
    $with
     = ['preferences']
    
    
    
Methods
avatar()
    public
                    avatar() : MorphTo
    Return values
MorphTobooted()
    public
            static        booted() : mixed
    cover()
    public
                    cover() : MorphTo
    Return values
MorphToentityId()
    public
                    entityId() : int
    Return values
intentityType()
    public
                    entityType() : string
    Return values
stringgender()
    public
                    gender() : BelongsTo
    Return values
BelongsTogenderObject()
    public
                    genderObject() : mixed
    getAboutMeAttribute()
    public
                    getAboutMeAttribute(string|null $value) : string
    Parameters
- $value : string|null
 
Return values
stringgetAvatarDataEmpty()
    public
                    getAvatarDataEmpty() : array<string|int, mixed>
    Return values
array<string|int, mixed>getAvatarId()
    public
                    getAvatarId() : int|null
    Return values
int|nullgetAvatarType()
    public
                    getAvatarType() : string|null
    Return values
string|nullgetBioAttribute()
    public
                    getBioAttribute(string|null $value) : string
    Parameters
- $value : string|null
 
Return values
stringgetCoverDataEmpty()
    public
                    getCoverDataEmpty() : array<string|int, mixed>
    Return values
array<string|int, mixed>getCoverId()
    public
                    getCoverId() : int
    Return values
intgetCoverType()
    public
                    getCoverType() : string
    Return values
stringgetHobbiesAttribute()
    public
                    getHobbiesAttribute(string|null $value) : string
    Parameters
- $value : string|null
 
Return values
stringgetInterestAttribute()
    public
                    getInterestAttribute(string|null $value) : string
    Parameters
- $value : string|null
 
Return values
stringgetOwnerAttribute()
    public
                    getOwnerAttribute() : mixed
    getPossessiveGenderAttribute()
    public
                    getPossessiveGenderAttribute() : string
    Return values
stringgetPreferencesValueAttribute()
    public
                    getPreferencesValueAttribute() : Collection|null
    Return values
Collection|nullgetProfileMenus()
    public
                    getProfileMenus() : array<string|int, array<string|int, mixed>>
    Return values
array<string|int, array<string|int, mixed>>getUserAttribute()
    public
                    getUserAttribute() : mixed
    isOwner()
    public
                    isOwner(User $user) : bool
    Parameters
- $user : User
 
Return values
boolmoduleName()
    public
                    moduleName() : string
    Return values
stringowner()
    public
                    owner() : BelongsTo
    Return values
BelongsToownerEntity()
    public
                    ownerEntity() : BelongsTo
    Return values
BelongsTopreferences()
    public
                    preferences() : HasMany
    Return values
HasManyrelationship()
    public
                    relationship() : HasOne
    Return values
HasOnerelationWithUser()
    public
                    relationWithUser() : BelongsTo
    Return values
BelongsTouser()
    public
                    user() : BelongsTo
    Return values
BelongsTouserEntity()
    public
                    userEntity() : BelongsTo
    Return values
BelongsTocountryIso()
    protected
                    countryIso() : Attribute
    Return values
AttributegetCurrencyIdAttribute()
    protected
                    getCurrencyIdAttribute() : string
    Return values
stringgetLanguageIdAttribute()
    protected
                    getLanguageIdAttribute(string|null $value) : string
    Parameters
- $value : string|null
 
Return values
stringgetRelationshipTextAttribute()
    protected
                    getRelationshipTextAttribute() : string|null
    Return values
string|nullgetTimezoneId()
    protected
                    getTimezoneId() : int
    Return values
inttimezoneId()
    protected
                    timezoneId() : Attribute