ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilObjiLincUser iLinc related user settings. More...
Public Member Functions | |
ilObjiLincUser (&$a_user_obj, $a_from_ilinc= 'false') | |
Constructor public. | |
__init (&$a_from_ilinc) | |
update () | |
updates ilinc data of a record "user" and write it into ILIAS database public | |
syncILIAS2iLinc () | |
synciLinc2ILIAS () | |
getErrorMsg () | |
__createLoginData ($a_user_id, $a_user_login, $a_inst_id) | |
creates login and password for ilinc login format is: <first 3 letter of ilias login> _ <user_id> _ <inst_id> _ <timestamp> some characters are not allowed in login in ilinc. | |
add () | |
edit () | |
find ($a_id= '', $a_login= '', $a_fullname= '') | |
find user account on iLinc server Returns one user recordset, if an userid is given or returns a list of all the users that match a specified keyword, if a keyword in loginname or fullname is given in the order userid, loginname, fullname. | |
setVar ($a_varname, $a_value) |
Class ilObjiLincUser iLinc related user settings.
Definition at line 35 of file class.ilObjiLincUser.php.
ilObjiLincUser::__createLoginData | ( | $a_user_id, | |
$a_user_login, | |||
$a_inst_id | |||
) |
creates login and password for ilinc login format is: <first 3 letter of ilias login> _ <user_id> _ <inst_id> _ <timestamp> some characters are not allowed in login in ilinc.
These chars will be converted to <underscore> passwd format is a random md5 hash
Definition at line 125 of file class.ilObjiLincUser.php.
References $data, and $result.
Referenced by add().
ilObjiLincUser::__init | ( | & | $a_from_ilinc | ) |
Definition at line 53 of file class.ilObjiLincUser.php.
References $data, $ilDB, and $ilErr.
Referenced by ilObjiLincUser().
ilObjiLincUser::add | ( | ) |
Definition at line 150 of file class.ilObjiLincUser.php.
References __createLoginData(), and update().
ilObjiLincUser::edit | ( | ) |
Definition at line 187 of file class.ilObjiLincUser.php.
ilObjiLincUser::find | ( | $a_id = '' , |
|
$a_login = '' , |
|||
$a_fullname = '' |
|||
) |
find user account on iLinc server Returns one user recordset, if an userid is given or returns a list of all the users that match a specified keyword, if a keyword in loginname or fullname is given in the order userid, loginname, fullname.
Returns the recordsets of all users, if all attribut values are empty
public
integer | ilinc_user_id |
string | ilinc_login |
string | ilinc_fullname |
Definition at line 227 of file class.ilObjiLincUser.php.
ilObjiLincUser::getErrorMsg | ( | ) |
Definition at line 110 of file class.ilObjiLincUser.php.
ilObjiLincUser::ilObjiLincUser | ( | & | $a_user_obj, |
$a_from_ilinc = 'false' |
|||
) |
Constructor public.
object | ilias user |
Definition at line 42 of file class.ilObjiLincUser.php.
References $lng, and __init().
ilObjiLincUser::setVar | ( | $a_varname, | |
$a_value | |||
) |
Definition at line 253 of file class.ilObjiLincUser.php.
ilObjiLincUser::syncILIAS2iLinc | ( | ) |
Definition at line 100 of file class.ilObjiLincUser.php.
ilObjiLincUser::synciLinc2ILIAS | ( | ) |
Definition at line 105 of file class.ilObjiLincUser.php.
ilObjiLincUser::update | ( | ) |
updates ilinc data of a record "user" and write it into ILIAS database public
Definition at line 83 of file class.ilObjiLincUser.php.
References $ilDB.
Referenced by add().