HEX
Server: LiteSpeed
System: Linux venus 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: axxoncom (1007)
PHP: 8.3.19
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/axxoncom/domains/draqee.com/private_html/wp-content/plugins/fluentform/app/Models/User.php
<?php

namespace FluentForm\App\Models;

class User extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'users';

    /**
     * The accessors to append to the model's array form.
     *
     * @var array
     */
    protected $appends = ['id', 'name', 'email', 'permalink'];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = ['ID', 'user_email', 'user_pass', 'display_name'];

    /**
     * Get the id of the user.
     *
     * @return bool
     */
    public function getIdAttribute()
    {
        return (int) $this->attributes['ID'];
    }

    /**
     * Get the name of the user.
     *
     * @return string
     */
    public function getNameAttribute()
    {
        return $this->attributes['display_name'];
    }

    /**
     * Get the email of the user.
     *
     * @return string
     */
    public function getEmailAttribute()
    {
        return $this->attributes['user_email'];
    }

    /**
     * Get the permalink of the user.
     *
     * @return string
     */
    public function getPermalinkAttribute()
    {
        return get_edit_user_link($this->attributes['ID']);
    }
}