|
From: Benjamin C. <bc...@us...> - 2001-10-08 13:57:16
|
Update of /cvsroot/phpbt/phpbt/docs/html
In directory usw-pr-cvs1:/tmp/cvs-serv18087/html
Modified Files:
devguide.html devstandards.html userguide.html
Log Message:
A little closer
Index: devguide.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/docs/html/devguide.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- devguide.html 2001/10/08 04:53:46 1.8
+++ devguide.html 2001/10/08 13:57:11 1.9
@@ -296,39 +296,53 @@
>Session</TT
> class. </P
><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="AEN252"
->3.1.1.3.1. Session</A
-></H4
+CLASS="FORMALPARA"
><P
+><B
+>Session. </B
>Session variables, or variables that should be retained from page to page, are set via the <TT
CLASS="VARNAME"
>$sess</TT
> variable, which is an instantiation of the <TT
CLASS="CLASSNAME"
>usess</TT
-> class. </P
+> class. You can register a session variable with <TT
+CLASS="FUNCTION"
+>$sess->register('<TT
+CLASS="REPLACEABLE"
+><I
+>varname</I
+></TT
+>')</TT
+>. When registering, make sure you don't include the $ with <TT
+CLASS="REPLACEABLE"
+><I
+>varname</I
+></TT
+>. This variable will now be available in the global scope until the session is destroyed by the user closing the browser.</P
></DIV
><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="AEN257"
->3.1.1.3.2. Auth</A
-></H4
+CLASS="FORMALPARA"
+><P
+><B
+>Auth. </B
+>The login handler is located near the end of <TT
+CLASS="FILENAME"
+>include.php</TT
+>. Via the <TT
+CLASS="CLASSNAME"
+>uath</TT
+> class, the global variable <TT
+CLASS="VARNAME"
+>$u</TT
+> is set to the user id of the user if logged in, or to 'nobody' if not logged in. This variable should be used as the CreatedBy or LastModifiedBy value for database inserts and updates.</P
></DIV
><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="AEN259"
->3.1.1.3.3. Perm</A
-></H4
+CLASS="FORMALPARA"
+><P
+><B
+>Perm. </B
+></P
></DIV
></DIV
></DIV
Index: devstandards.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/docs/html/devstandards.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- devstandards.html 2001/10/08 04:53:46 1.9
+++ devstandards.html 2001/10/08 13:57:11 1.10
@@ -77,7 +77,7 @@
><DIV
CLASS="ABSTRACT"
><A
-NAME="AEN263"
+NAME="AEN271"
></A
><P
> This section details the coding and process standards to be
Index: userguide.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/docs/html/userguide.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- userguide.html 2001/10/08 04:53:46 1.6
+++ userguide.html 2001/10/08 13:57:11 1.7
@@ -131,8 +131,7 @@
CLASS="MEDIAOBJECT"
><P
><IMG
-SRC="images/shots/user/enterbug-chooseproject.png"
-ALIGN="MIDDLE"><DIV
+SRC="images/shots/user/enterbug-chooseproject.png"><DIV
CLASS="CAPTION"
><P
>Selecting a project for a bug report.</P
@@ -181,8 +180,7 @@
CLASS="MEDIAOBJECT"
><P
><IMG
-SRC="images/shots/user/enterbug-detail.png"
-ALIGN="CENTER"><DIV
+SRC="images/shots/user/enterbug-detail.png"><DIV
CLASS="CAPTION"
><P
>Entering a bug report.</P
|