Docs Goabase

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_LOGIN_ENDPOINT

private mixed MEMBER_LOGIN_ENDPOINT = 'member/login/'

Properties

Methods

handleMemberInsert()

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
throws
Exception
Attributes
#[NoReturn]

insertCheckWalk()

public insertCheckWalk() : array<string|int, mixed>
Tags
throws
Exception
Return values
array<string|int, mixed>

isTrash()

public isTrash(string $email) : bool
Parameters
$email : string
Return values
bool

checkFlagFields()

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
throws
Exception
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
throws
RandomException
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
throws
RandomException
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
throws
RandomException
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
throws
Exception

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>|string

validateUserInput()

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
Tags
throws
RandomException
Return values
array<string|int, mixed>

        
On this page

Search results