# shiftcontroller/4.9.66/hc3/users/model.php

ShiftController Employee Shift Scheduling, version 4.9.66. 41 lines.

- Page: https://pluginprobe.com/plugins/shiftcontroller/4.9.66/code/hc3/users/model.php
- Raw: https://pluginprobe.com/plugins/shiftcontroller/4.9.66/raw/hc3/users/model.php
- Modified: 2018-04-02T15:13:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/shiftcontroller/4.9.66/code/hc3/users/model.php#L10-L20`.

```php
<?php if (! defined('ABSPATH')) exit; // Exit if accessed directly
class HC3_Users_Model
{
	const STATUS_ACTIVE = 'active';
	const STATUS_SUSPENDED = 'suspended';
	const ROLE_ADMIN = 'admin';

	private $id = NULL;
	private $displayName = NULL;
	private $email = NULL;
	private $username = NULL;

	public function __construct( $id, $username, $email, $displayName )
	{
		$this->id = $id;
		$this->username = $username;
		$this->email = $email;
		$this->displayName = $displayName;
	}

	public function getId()
	{
		return $this->id;
	}

	public function getEmail()
	{
		return $this->email;
	}

	public function getUsername()
	{
		return $this->username;
	}

	public function getDisplayName()
	{
		return $this->displayName;
	}
}

```
