mypage_counter.module File Reference

This file contains the counter component. More...


Functions

 mypage_counter_mypage ($type, &$data, $uid)
 Implements the hook mypage_mypage().
 mypage_counter_get_count_display ($uid)
 Returns the rendered html string indicating the page count.
 _mypage_counter_increment ($uid)
 Increments the counter variable for the specified uid.


Detailed Description

This file contains the counter component.

Date:
2008/04/13
Author:
Jacob Steelsmith 'jacob@steelsmith.org'
This component provides a count of the number of views the profile has received, as well as an customizable output.

Function Documentation

null _mypage_counter_increment ( uid  ) 

Increments the counter variable for the specified uid.

Date:
2008/04/02
Author:
Jacob Steelsmith 'jacob@steelsmith.org'
Uses the mypage_variable_set() function defined in mypage.module.

string mypage_counter_get_count_display ( uid  ) 

Returns the rendered html string indicating the page count.

Date:
2008/04/02
Author:
Jacob Steelsmith 'jacob@steelsmith.org'
Parameters:
$uid The user id who's count is returned.
Returns:
Returns an html string that is the stock contact form.

mypage_counter_mypage ( type,
&$  data,
uid 
)

Implements the hook mypage_mypage().

Date:
2008/04/08
Author:
Jacob Steelsmith 'jacob@steelsmith.org'
Parameters:
$type The type of operation being performed.
&$data The page being constructed. Passed by reference.
$uid The user id we're operating on.

Page load returns the current profile view count for the passed uid.


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