--- loncom/html/adm/help/tex/Institutional_Integration_Course_Codes.tex 2008/07/29 20:52:20 1.3
+++ loncom/html/adm/help/tex/Institutional_Integration_Course_Codes.tex 2013/12/04 18:04:10 1.6
@@ -18,19 +18,24 @@ Six arguments are required:
\item domain (\$dom)
\item reference to hash of institutional course IDs (\$instcodes)
\item reference to hash of codes (\$codes)
-\item reference to array of titles (\$codetitles), e.g., @\{\$codetitles\}
+\item reference to array of titles (\$codetitles),
+\begin{quote}
+e.g., @\{\$codetitles\}
+\begin{quote}
= (\char`\"{}year\char`\"{},\char`\"{}semester\char`\"{},\char`\"{}department\char`\"{},\char`\"{}number\char`\"{})
+\end{quote}
+\end{quote}
\item reference to hash of abbreviations used in categories, (\$cat\_titles)
e.g.,
\begin{quote}
\%\{\$\$cat\_titles\{'Semester'\}\} = (
\begin{quote}
-fs => 'Fall',
+fs =$>$ 'Fall',
-ss => 'Spring',
+ss =$>$ 'Spring',
-us => 'Summer');
+us =$>$ 'Summer');
\end{quote}
\end{quote}
\item reference to hash of arrays specifying sort order used in category
@@ -38,14 +43,14 @@ titles (\$cat\_order), e.g., @\{\$\$cat\
\end{enumerate}
The routine returns 'ok' if no errors occurred.
-At MSU, {}``fs03nop590,'' is an example of an institutional course
+At MSU, {}``fs13nop590'' is an example of an institutional course
code; including the following entry in the instcodes hash passed in
-by reference - \$\$instcodes\{'43551dedcd43febmsul1'\} = 'fs03nop590'
+by reference - \$\$instcodes\{'43551dedcd43febmsul1'\} = 'fs13nop590'
would cause the \$codes perl data structure to be populated.
-fs03nop590 would be split as follows:
+fs13nop590 would be split as follows:
-\$\$codes\{\{'year'\} = '2003'
+\$\$codes\{\{'year'\} = '2013'
\$\$codes\{'semester'\} = 'Fall'