Changeset 320
- Timestamp:
- 06/03/08 21:23:49 (6 months ago)
- Files:
-
- avatars/trunk/lib/avatars_functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
avatars/trunk/lib/avatars_functions.php
r318 r320 12 12 13 13 14 /** 15 * 16 * avatars_gat_loggeduser_data function 17 * 18 * This function preperes the loggedin user data, to be used in the update 19 * and insert process 20 * 21 * 22 * @param: no param recived 23 * @return: an array with the user data available in the _SESION vars, null other wise 24 * 25 */ 26 14 27 function avatars_get_loggeduser_data() 15 28 { … … 24 37 return $user; 25 38 } 39 40 41 /** 42 * 43 * avatars__loggeduser_create_usericon_folder function 44 * 45 * This function creates the user icon folder, available in the data/icons directory, 46 * in this directory, the news avatar will be saved. 47 * 48 * 49 * @param: array $user with the user data available in the _SESSION vars 50 * @return: void (the results of this function are evaluated in the index.php file) 51 * 52 */ 53 26 54 27 55 function avatars_create_usericon_folder($user) … … 40 68 41 69 } 70 71 72 /** 73 * 74 * avatars_update_icon_user function 75 * 76 * This function creates a new record in the table "icons", and update the user record 77 * in the table "users" on the elgg's database 78 * 79 * 80 * @param: array $user with the user data available in the _SESSION vars 81 * @param: Int(11) $profile_id 82 * @return: void (the results of this function are evaluated in the index.php file) 83 * 84 */ 85 42 86 43 87 function avatars_update_icon_user($user, $profile_id)
