WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKUserMeta Class Reference

Static Public Member Functions

static update ($user_id, $post_data)
 Update. More...
 

Data Fields

const STATUS = '_wpdk_user_status'
 User status. More...
 
const STATUS_DESCRIPTION = '_wpdk_user_status_description'
 User status description. More...
 
const COUNT_SUCCESS_LOGIN = '_wpdk_user_count_success_login'
 Number of success login. More...
 
const COUNT_WRONG_LOGIN = '_wpdk_user_count_wrong_login'
 Number of wrong login. More...
 
const LAST_TIME_SUCCESS_LOGIN = '_wpdk_user_last_time_success_login'
 Time stamp of last success login. More...
 
const LAST_TIME_WRONG_LOGIN = '_wpdk_user_last_time_wrong_login'
 Time stamp of last wrong login. More...
 
const LAST_TIME_LOGOUT = '_wpdk_user_last_time_logout'
 Time stamp of last success login. More...
 
const REMOTE_ADDR = '_wpdk_user_remote_address'
 Remote Address. More...
 

Detailed Description

This class describe the WPDK user meta extra fields

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-02-26
Version
1.0.0

User status model

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-02-26
Version
1.0.0

Definition at line 13 of file wpdk-user.php.

Member Function Documentation

static update (   $user_id,
  $post_data 
)
static

Update.

Update the wpdk extra user meta information. This method was written for the user profile. Updates: LAST_TIME_SUCCESS_LOGIN COUNT_SUCCESS_LOGIN LAST_TIME_WRONG_LOGIN COUNT_WRONG_LOGIN LAST_TIME_LOGOUT STATUS STATUS_DESCRIPTION

Parameters
int$user_idUser id
array$post_dataA key value peirs array with values

Definition at line 88 of file wpdk-user.php.

Field Documentation

const COUNT_SUCCESS_LOGIN = '_wpdk_user_count_success_login'

Number of success login.

Number of success login

Definition at line 34 of file wpdk-user.php.

const COUNT_WRONG_LOGIN = '_wpdk_user_count_wrong_login'

Number of wrong login.

Number of wrong login

Definition at line 41 of file wpdk-user.php.

const LAST_TIME_LOGOUT = '_wpdk_user_last_time_logout'

Time stamp of last success login.

Time stamp of last logout

Definition at line 62 of file wpdk-user.php.

const LAST_TIME_SUCCESS_LOGIN = '_wpdk_user_last_time_success_login'

Time stamp of last success login.

Time stamp of last success login

Definition at line 48 of file wpdk-user.php.

const LAST_TIME_WRONG_LOGIN = '_wpdk_user_last_time_wrong_login'

Time stamp of last wrong login.

Time stamp of last wrong login

Definition at line 55 of file wpdk-user.php.

const REMOTE_ADDR = '_wpdk_user_remote_address'

Remote Address.

Remote Address when an user when created

Since
1.4.6

Definition at line 70 of file wpdk-user.php.

const STATUS = '_wpdk_user_status'

User status.

Store the user status.

Definition at line 20 of file wpdk-user.php.

const STATUS_DESCRIPTION = '_wpdk_user_status_description'

User status description.

Store the user status description.

Definition at line 27 of file wpdk-user.php.


The documentation for this class was generated from the following file: