UserCheckInsert
in package
uses
TraitCountry, TraitPage, TraitSeo, TraitUser
Table of Contents
Constants
- MEMBER_EDIT_ENDPOINT = 'member/edit/'
- MEMBER_INSERT_ENDPOINT = 'page/'
- MEMBER_LIST_ENDPOINT = 'member/'
- MEMBER_LOGIN_ENDPOINT = 'member/login/'
- TOKEN_KEY = 'strUserKey'
Properties
- $emptyFile : array<string|int, mixed>
- $input : Input
- $tblUser : string
- $user : User
- $userCheck : UserCheck
Methods
- __construct() : mixed
- checkOrRedirect() : void
- getCountryInstance() : Country
- getPageInstance() : Page
- getSeoInstance() : Seo
- getUserInstance() : User
- handleMemberInsert() : void
- insertCheckWalk() : array<string|int, mixed>
- isTrash() : bool
- checkFlagFields() : array<string|int, mixed>
- checkInput() : array<string|int, mixed>
- clearImageIfNotEmpty() : array<string|int, mixed>
- createMemberEntry() : void
- getEmptyFile() : array<string|int, mixed>
- getInsertSQL() : array<string|int, mixed>
- getUID() : mixed
- getUpdateSQL() : array<string|int, mixed>
- prepareAndWrite() : array<string|int, mixed>
- sendProfile() : void
- Bereitet den Text für das Mail "member_profile" vor und versendet ihn
- stripSelectedTags() : array<string|int, mixed>|string
- StripSelectedTags ( string str [, string strip_tags[, strip_content flag]] ) --------------------------------------------------------------------- Like strip_tags() but inverse; the strip_tags tags will be stripped, not kept.
- validateUserInput() : array<string|int, mixed>
- writeUserAndGetData() : array<string|int, mixed>
Constants
MEMBER_EDIT_ENDPOINT
private
mixed
MEMBER_EDIT_ENDPOINT
= 'member/edit/'
MEMBER_INSERT_ENDPOINT
private
mixed
MEMBER_INSERT_ENDPOINT
= 'page/'
MEMBER_LIST_ENDPOINT
private
mixed
MEMBER_LIST_ENDPOINT
= 'member/'
MEMBER_LOGIN_ENDPOINT
private
mixed
MEMBER_LOGIN_ENDPOINT
= 'member/login/'
TOKEN_KEY
private
mixed
TOKEN_KEY
= 'strUserKey'
Properties
$emptyFile
private
array<string|int, mixed>
$emptyFile
$input
private
Input
$input
$tblUser
private
string
$tblUser
$user
private
User
$user
$userCheck
private
UserCheck
$userCheck
Methods
__construct()
public
__construct() : mixed
checkOrRedirect()
public
checkOrRedirect() : void
getCountryInstance()
public
getCountryInstance() : Country
Return values
CountrygetPageInstance()
public
getPageInstance() : Page
Return values
PagegetSeoInstance()
public
getSeoInstance() : Seo
Return values
SeogetUserInstance()
public
getUserInstance() : User
Return values
UserhandleMemberInsert()
public
handleMemberInsert(int $bWriteUser, array<string|int, mixed> $saError, array<string|int, mixed> $saUser, string $strImageError) : void
Parameters
- $bWriteUser : int
- $saError : array<string|int, mixed>
- $saUser : array<string|int, mixed>
- $strImageError : string
Tags
Attributes
- #[NoReturn]
insertCheckWalk()
public
insertCheckWalk() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>isTrash()
public
isTrash(string $email) : bool
Parameters
- $email : string
Return values
boolcheckFlagFields()
private
checkFlagFields(array<string|int, mixed> $saUserInput) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
Return values
array<string|int, mixed>checkInput()
private
checkInput(array<string|int, mixed> $saUserInput) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
Return values
array<string|int, mixed>clearImageIfNotEmpty()
private
clearImageIfNotEmpty(array<string|int, mixed> $saUserInput) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
Return values
array<string|int, mixed>createMemberEntry()
private
createMemberEntry(array<string|int, mixed> $saUser, string $strImageError) : void
Parameters
- $saUser : array<string|int, mixed>
- $strImageError : string
Tags
Attributes
- #[NoReturn]
getEmptyFile()
private
getEmptyFile() : array<string|int, mixed>
Return values
array<string|int, mixed>getInsertSQL()
private
getInsertSQL(array<string|int, mixed> $saUserInput) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getUID()
private
getUID(string $unique_id) : mixed
Parameters
- $unique_id : string
getUpdateSQL()
private
getUpdateSQL(array<string|int, mixed> $saUserInput) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>prepareAndWrite()
private
prepareAndWrite(array<string|int, mixed> $saUserInput, string $strUserKey) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
- $strUserKey : string
Tags
Return values
array<string|int, mixed>sendProfile()
Bereitet den Text für das Mail "member_profile" vor und versendet ihn
private
sendProfile(array<string|int, mixed> $saUser) : void
Parameters
- $saUser : array<string|int, mixed>
Tags
stripSelectedTags()
StripSelectedTags ( string str [, string strip_tags[, strip_content flag]] ) --------------------------------------------------------------------- Like strip_tags() but inverse; the strip_tags tags will be stripped, not kept.
private
stripSelectedTags(mixed $str[, string $tags = '' ][, bool $stripContent = false ]) : array<string|int, mixed>|string
strip_tags: string with tags to strip, ex: "" etc.
strip_content flag: TRUE will also strip everything between open and closed tag
http://de.php.net/strip_tags
Parameters
- $str : mixed
- $tags : string = ''
- $stripContent : bool = false
Return values
array<string|int, mixed>|stringvalidateUserInput()
private
validateUserInput(array<string|int, mixed> $saUserInput) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
Return values
array<string|int, mixed>writeUserAndGetData()
private
writeUserAndGetData(array<string|int, mixed> $saUserInput, string $strUserKey) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
- $strUserKey : string