TwistPHP Documentation

User

File path: dist/twist/Core/Models/User/User.model.php
Namespace: Twist\Core\Models\User
Extends:

Type: Model

User — TwistPHP - An open source PHP MVC framework built from the ground up. Shadow Technologies Ltd. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see .

Example Usage

<?php
//Set the variables for the example
$strField null;
$mxdValue null;

//Call the function data with the example vars
$resUser = new \Twist\Core\Models\User\User();
$resUser -> data($strField$mxdValue);

Method List

Method Access Returns
__constructconstructvoid
getpublicvoid
datapublicvoid
getDataprivatevoid
setDataprivatevoid
nullDatapublicvoid
deleteDatapublicvoid
commitpublicvoid
idpublicvoid
namepublicvoid
firstnamepublicvoid
surnamepublicvoid
emailpublicvoid
levelpublicvoid
groupspublicvoid
joinGrouppublicvoid
leaveGrouppublicvoid
enabledpublicvoid
enablepublicvoid
disablepublicvoid
lastLoginpublicvoid
lastActivepublicvoid
deletepublicvoid
requireVerificationpublicvoid
tempPasswordpublicvoid
comparePasswordpublicvoid
passwordpublicvoid
resetPasswordpublicvoid
preventEmailpublicvoid
sendPasswordEmailprotectedvoid
sendWelcomeEmailprotectedvoid
sendVerificationEmailprotectedvoid
allowPasswordprotectedvoid
isMemberpublicvoid
isAtLeastMemberpublicvoid
isAdvancedpublicvoid
isAtLeastAdvancedpublicvoid
isAdminpublicvoid
isAtLeastSuperAdminpublicvoid
isSuperAdminpublicvoid
isRootUserpublicvoid
base64url_encodeprotectedvoid
base64url_decodeprotectedvoid