Skip to content

User Model ​

Extended WordPress user model exposing FluentBooking-specific relations such as calendars and bookings.

Class ​

  • Source: fluent-booking/app/Models/User.php
  • Table: users
  • Primary key: ID
  • Extends: Model

Relationships ​

MethodTypeTarget
calendars()hasManyCalendar
bookings()belongsToManyCalendarSlot
staff()hasOneStaff
metas()hasManyMeta

Public Methods ​

MethodSignature
calendars()—
bookings()—
user()—
getFullNameAttribute()—
staff()—
metas()—
getMeta()$key, $default = null
updateMeta()$key, $value