Class UserApi
This class allow you to use the User Api
Genetsis\UserApi
makes calls internally to the API to
request user Data.
Namespace: Genetsis
Package: Genetsis
Category: Bean
Author: Israel Dominguez
Version: 2.0
See: http://docs.cocacola.es
Revision: Alejandro Sánchez
Located at UserApi.php
Package: Genetsis
Category: Bean
Author: Israel Dominguez
Version: 2.0
See: http://docs.cocacola.es
Revision: Alejandro Sánchez
Located at UserApi.php
public static
|
#
getUserLogged( )
Returns the personal data of the user logged.
To check if user is logged, is not necessary call to this method, you must use Identity::isConnected().
If you only need the User ID, you must use |
public static
integer
|
#
getUserLoggedCkusid( )
Returns User ID of user Logged, stored in Things Things You must use this method to get the ckusid of user logged |
public static
integer
|
#
getUserLoggedOid( )
Returns ObjectID of user Logged, stored in Things Things You must use this method to get the oid of user logged |
public static
String
|
#
getAvatarUrl( $userid, integer $width = 150, integer $height = 150 )
Method to get User Profile Image available |
public static
|
|
public static
array
|
|
public static
|
#
deleteCacheUser( $ckusid = null )
Delete cache data of a user, must call this method in a post-edit or a post-complete actions |
public static
array
|