mypage_picture.module File Reference

This file defines the mypage picture component included with the core. More...


Functions

 mypage_picture_mypage ($type, &$data, $uid)
 Implements MyPage hook.
 _mypage_picture_get_user_picture ($uid=0)
 Retrieves the picture for a given uid.


Detailed Description

This file defines the mypage picture component included with the core.

Date:
2008/04/08
Author:
Jacob Steelsmith 'jacob@steelsmith.org'
The mypage picture components provides the default profile picture, which is defined in Drupal, as well as added picture functionality for the users.

Todo:
Provide ability for users to upload multiple pictures.
Todo:
Provide ability for users to select another picture for display on the front page.
Todo:
Provide ability for users to comment on pictures.
Todo:
Provide ability for users to add captions to pictures.
Todo:
Implement user and admin settings.

Function Documentation

string _mypage_picture_get_user_picture ( uid = 0  ) 

Retrieves the picture for a given uid.

Date:
2008/03/11
Parameters:
$uid The user id.
Returns:
string containing the
Function returns string relative to website base that points to user picture.

null mypage_picture_mypage ( type,
&$  data,
uid 
)

Implements MyPage hook.

Date:
2008/04/08
Author:
Jacob Steelsmith
Parameters:
$type The type of operation being performed.
$data The page being constructed. Passed by reference.
$uid The uid of the page being pulled up.
Returns:
Function returns true.
Used when constructing the user's profile.


Generated on Sun Apr 13 23:02:21 2008 for mypage by  doxygen 1.5.3