| |
4 |
4 |
|
| |
5 |
5 |
@creation-date 2004-10-25 |
| |
6 |
6 |
@author David Ortega (doa@tid.es) |
| |
7 |
7 |
|
| |
8 |
8 |
} |
| |
9 |
9 |
|
| |
10 |
10 |
namespace eval user_tracking_portlet { |
| |
11 |
11 |
|
| |
12 |
12 |
ad_proc -private get_my_name { |
| |
13 |
13 |
} { |
| |
14 |
14 |
return "user_tracking_portlet" |
| |
15 |
15 |
} |
| |
16 |
16 |
|
| |
17 |
17 |
ad_proc -private my_package_key { |
| |
18 |
18 |
} { |
| |
19 |
19 |
return "user-tracking-portlet" |
| |
20 |
20 |
} |
| |
21 |
21 |
|
| |
22 |
22 |
ad_proc -public get_pretty_name { |
| |
23 |
23 |
} { |
| |
24 |
|
return "[_ user-tracking.user_tracking_portlet]" |
| |
|
24 |
return "#user-tracking.user_tracking_portlet#" |
| |
25 |
25 |
} |
| |
26 |
26 |
|
| |
27 |
27 |
ad_proc -public link { |
| |
28 |
28 |
} { |
| |
29 |
29 |
return "" |
| |
30 |
30 |
} |
| |
31 |
31 |
|
| |
32 |
32 |
ad_proc -public add_self_to_page { |
| |
33 |
33 |
{-portal_id:required} |
| |
34 |
34 |
{-package_id:required} |
| |
35 |
35 |
{-param_action:required} |
| |
36 |
36 |
} { |
| |
37 |
37 |
Adds a UserTracking Mgt PE to the given portal or appends the given |
| |
38 |
38 |
user_tracking_package_id to the params of the user_tracking pe already there |
| |
39 |
39 |
|
| |
40 |
40 |
@param portal_id The page to add self to |
| |
41 |
41 |
@param package_id the id of the user_tracking package for this community |
| |
42 |
42 |
|
| |
43 |
43 |
@return element_id The new element's id |
| |
44 |
44 |
} { |