Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-tcl
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-tcl
Commits
3e4517ae
Commit
3e4517ae
authored
Sep 12, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- nothing changed
parent
9781fe75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
community-core-procs.tcl
tcl/community-core-procs.tcl
+7
-7
No files found.
tcl/community-core-procs.tcl
View file @
3e4517ae
...
@@ -396,17 +396,17 @@ ad_proc -public acs_user::get {
...
@@ -396,17 +396,17 @@ ad_proc -public acs_user::get {
}
{
}
{
Get basic information about a user. Uses util_memoize to cache info from the database.
Get basic information about a user. Uses util_memoize to cache info from the database.
You may supply either user_id, or username.
You may supply either user_id, or username.
If you supply username, you may also supply authority_id, or you may leave it out, in which case it defaults to the local authority.
If you supply username, you may also supply authority_id, or you may leave it out,
If you supply neither user_id nor username, and we have a connection, the currently logged in user will be assumed.
in which case it defaults to the local authority.
If you supply neither user_id nor username, and we have a connection, the currently
logged in user will be assumed.
@option user_id The user_id of the user to get the bio for.
Leave blank for current user.
@option user_id The user_id of the user to get the bio for.
Leave blank for current user.
@option include_bio Whether to include the bio in the user information
@option include_bio Whether to include the bio in the user information
@param array The name of an array into which you want the information put.
@param array The name of an array into which you want the information put.
The attributes returned are:
The attributes returned are:
<ul>
<ul>
<li> user_id
<li> user_id
<li> username
<li> username
...
@@ -465,7 +465,7 @@ ad_proc -private acs_user::get_from_user_id_not_cached { user_id } {
...
@@ -465,7 +465,7 @@ ad_proc -private acs_user::get_from_user_id_not_cached { user_id } {
@author Peter Marklund
@author Peter Marklund
}
{
}
{
db_1row select_user_info
{
*SQL*
}
-column_array row
db_1row select_user_info
{
*SQL*
}
-column_array row
return
[
array
get row
]
return
[
array
get row
]
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment