UserCheckInsert
in package
uses
TraitData, TraitDataWrite, TraitGeoSQL, TraitPage, TraitSeo
FinalYes
Table of Contents
Constants
- OPTION_FLAGS = ['flag_comments', 'flag_comments_vote', 'flag_css_style', 'flag_email', 'flag_geo', 'flag_invites', 'flag_message_alert', 'flag_orga', 'flag_partytimer', 'flag_public', 'flag_public_friends', 'flag_public_world']
- MEMBER_EDIT_ENDPOINT = 'member/edit/'
- MEMBER_INSERT_ENDPOINT = 'page/'
- MEMBER_LIST_ENDPOINT = 'member/'
- MEMBER_LOGIN_ENDPOINT = 'member/login/'
- TOKEN_KEY = 'strUserKey'
Properties
- $data : Data
- $emptyFile : array<string|int, mixed>
- $errorMessages : array<string|int, mixed>
- $input : Input
- $isInsertUserId : int
- $stmtType : string
- $tblUser : string
- $user : User
- $userCheck : UserCheck
Methods
- __construct() : mixed
- checkOrRedirect() : void
- getDataInstance() : Data
- getDataWriteInstance() : DataWrite
- getGeoSQLInstance() : GeoSQL
- getPageInstance() : Page
- getSeoInstance() : Seo
- insertCheckWalk() : void
- checkAndRedirectUser() : void
- checkBotUserInput() : array<string|int, mixed>
- Check the inputs on some value combinations of bots
- checkFlagFields() : array<string|int, mixed>
- checkInput() : array<string|int, mixed>
- clearImageIfNotEmpty() : array<string|int, mixed>
- getUID() : mixed
- prepareAndWrite() : array<string|int, mixed>
- processUserInput() : array<string|int, mixed>
- sendProfile() : void
- Bereitet den Text für das Mail "member_profile" vor und versendet ihn
- sendWelcomeEmail() : void
- 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
OPTION_FLAGS
public
mixed
OPTION_FLAGS
= ['flag_comments', 'flag_comments_vote', 'flag_css_style', 'flag_email', 'flag_geo', 'flag_invites', 'flag_message_alert', 'flag_orga', 'flag_partytimer', 'flag_public', 'flag_public_friends', 'flag_public_world']
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
$data
private
Data
$data
$emptyFile
private
array<string|int, mixed>
$emptyFile
$errorMessages
private
array<string|int, mixed>
$errorMessages
= []
$input
private
Input
$input
$isInsertUserId
private
int
$isInsertUserId
= 0
$stmtType
private
string
$stmtType
$tblUser
private
string
$tblUser
$user read-only
private
User
$user
$userCheck
private
UserCheck
$userCheck
Methods
__construct()
public
__construct(User $user) : mixed
Parameters
- $user : User
checkOrRedirect()
public
checkOrRedirect() : void
getDataInstance()
public
getDataInstance() : Data
Return values
DatagetDataWriteInstance()
public
getDataWriteInstance() : DataWrite
Return values
DataWritegetGeoSQLInstance()
public
getGeoSQLInstance() : GeoSQL
Return values
GeoSQLgetPageInstance()
public
getPageInstance() : Page
Return values
PagegetSeoInstance()
public
getSeoInstance() : Seo
Return values
SeoinsertCheckWalk()
public
insertCheckWalk() : void
Attributes
- #[NoReturn]
checkAndRedirectUser()
private
checkAndRedirectUser(array<string|int, mixed> $saUser, string $strImageError) : void
Parameters
- $saUser : array<string|int, mixed>
- $strImageError : string
Attributes
- #[NoReturn]
checkBotUserInput()
Check the inputs on some value combinations of bots
private
checkBotUserInput(array<string|int, mixed> $saUserInput, array<string|int, mixed> $saError) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
- $saError : array<string|int, mixed>
Return values
array<string|int, mixed>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>getUID()
private
getUID(string $unique_id) : mixed
Parameters
- $unique_id : string
prepareAndWrite()
private
prepareAndWrite(array<string|int, mixed> $saUserInput, string $strUserKey) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
- $strUserKey : string
Return values
array<string|int, mixed>processUserInput()
private
processUserInput(array<string|int, mixed> $saUserInput) : array<string|int, mixed>
Parameters
- $saUserInput : array<string|int, mixed>
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>
sendWelcomeEmail()
private
sendWelcomeEmail(array<string|int, mixed> $saUser, string $strImageError) : void
Parameters
- $saUser : array<string|int, mixed>
- $strImageError : string
Attributes
- #[NoReturn]
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