You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(486) |
Jul
(201) |
Aug
(194) |
Sep
(87) |
Oct
(72) |
Nov
(72) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(6) |
Feb
(41) |
Mar
(22) |
Apr
(4) |
May
(12) |
Jun
|
Jul
|
Aug
(42) |
Sep
(21) |
Oct
(14) |
Nov
(10) |
Dec
|
2007 |
Jan
(14) |
Feb
(34) |
Mar
(61) |
Apr
(54) |
May
(140) |
Jun
(184) |
Jul
(164) |
Aug
(130) |
Sep
(241) |
Oct
(175) |
Nov
(148) |
Dec
(96) |
2008 |
Jan
(5) |
Feb
(38) |
Mar
(30) |
Apr
(46) |
May
(25) |
Jun
(22) |
Jul
(5) |
Aug
(17) |
Sep
(2) |
Oct
(100) |
Nov
(83) |
Dec
(33) |
2009 |
Jan
(127) |
Feb
(43) |
Mar
(86) |
Apr
(34) |
May
(50) |
Jun
(168) |
Jul
(48) |
Aug
(66) |
Sep
(38) |
Oct
(75) |
Nov
(113) |
Dec
(72) |
2010 |
Jan
(123) |
Feb
(68) |
Mar
(26) |
Apr
(11) |
May
(39) |
Jun
(131) |
Jul
(56) |
Aug
(79) |
Sep
(69) |
Oct
(17) |
Nov
(166) |
Dec
(32) |
2011 |
Jan
(21) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
(1) |
Nov
(8) |
Dec
|
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chris S. <san...@us...> - 2005-07-18 10:17:29
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28466/scripts Modified Files: stackXML.php Log Message: Index: stackXML.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackXML.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** stackXML.php 18 Jul 2005 10:15:45 -0000 1.6 --- stackXML.php 18 Jul 2005 10:16:57 -0000 1.7 *************** *** 257,263 **** //Write the XML schema header - same for all XML schemas $xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'. ! "\n"; '<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'. ! //Create root element 'metadata'; stack_schema_create_root("metadata"). stack_schema_create_metadata(). --- 257,263 ---- //Write the XML schema header - same for all XML schemas $xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'. ! "\n". '<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'. ! //Create root element 'metadata'. stack_schema_create_root("metadata"). stack_schema_create_metadata(). |
From: Chris S. <san...@us...> - 2005-07-18 10:15:59
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28313/scripts Modified Files: stackXML.php Log Message: Index: stackXML.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackXML.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** stackXML.php 18 Jul 2005 10:13:51 -0000 1.5 --- stackXML.php 18 Jul 2005 10:15:45 -0000 1.6 *************** *** 256,267 **** { //Write the XML schema header - same for all XML schemas ! $xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'; "\n"; ! '<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'; //Create root element 'metadata'; ! stack_schema_create_root("metadata"); ! stack_schema_create_metadata(); ! stack_schema_escape_root(); ! stack_schema_create_enum_types(); //End of schema '</xs:schema>'; --- 256,267 ---- { //Write the XML schema header - same for all XML schemas ! $xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'. "\n"; ! '<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'. //Create root element 'metadata'; ! stack_schema_create_root("metadata"). ! stack_schema_create_metadata(). ! stack_schema_escape_root(). ! stack_schema_create_enum_types(). //End of schema '</xs:schema>'; |
From: Chris S. <san...@us...> - 2005-07-18 10:14:16
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27783/scripts Modified Files: stackXML.php Log Message: Index: stackXML.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackXML.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** stackXML.php 18 Jul 2005 10:07:18 -0000 1.4 --- stackXML.php 18 Jul 2005 10:13:51 -0000 1.5 *************** *** 242,276 **** function stack_schema_write_metadata($directory) { ! //take the stackQuestion and extract all the current metadata tags, putting them into a schema ! //file extension .xsd represents schema ! $schema_file_name='stack_metadata.xsd'; ! //create file used for writing ! $xml_file_handle = fopen($directory.$schema_file_name,"w"); ! if (!$xml_file_handle) ! { ! echo "File could not be opened for writing. Please contact the network administrator."; ! } ! else ! { ! //Write the XML schema header - same for all XML schemas ! $xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'. ! "\n". ! '<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'. ! //Create root element 'metadata' ! stack_schema_create_root("metadata"). ! stack_schema_create_metadata(). ! stack_schema_escape_root(). ! stack_schema_create_enum_types(). ! //End of schema ! '</xs:schema>'; ! ! //write out xml string ! fputs($xml_file_handle,$xml); ! //close xml file ! fclose($xml_file_handle); ! } ! return $schema_file_name; } --- 242,276 ---- function stack_schema_write_metadata($directory) { ! //take the stackQuestion and extract all the current metadata tags, putting them into a schema ! //file extension .xsd represents schema ! $schema_file_name='stack_metadata.xsd'; ! //create file used for writing ! $xml_file_handle = fopen($directory.$schema_file_name,"w"); ! if (!$xml_file_handle) ! { ! echo "File could not be opened for writing. Please contact the network administrator."; ! } ! else ! { ! //Write the XML schema header - same for all XML schemas ! $xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'; ! "\n"; ! '<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'; ! //Create root element 'metadata'; ! stack_schema_create_root("metadata"); ! stack_schema_create_metadata(); ! stack_schema_escape_root(); ! stack_schema_create_enum_types(); ! //End of schema ! '</xs:schema>'; ! ! //write out xml string ! fputs($xml_file_handle,$xml); ! //close xml file ! fclose($xml_file_handle); ! } ! return $schema_file_name; } *************** *** 285,291 **** function stack_schema_create_root($rootElement) { ! return "<xs:element name=".'"'.$rootElement.'">'. ! '<xs:complexType>'. ! '<xs:sequence>'; } --- 285,291 ---- function stack_schema_create_root($rootElement) { ! return "<xs:element name=".'"'.$rootElement.'">'. ! '<xs:complexType>'. ! '<xs:sequence>'; } *************** *** 297,305 **** function stack_schema_escape_root() { ! return '</xs:sequence>'. ! '</xs:complexType>'. ! "</xs:element>"; } ! /** * Writes the current stackQuestion metadata structure to an XML string --- 297,305 ---- function stack_schema_escape_root() { ! return '</xs:sequence>'. ! '</xs:complexType>'. ! "</xs:element>"; } ! /** * Writes the current stackQuestion metadata structure to an XML string *************** *** 315,387 **** function stack_schema_create_metadata() { ! global $stackQuestion; //use definitive stackQuestion data structure ! global $sqlToSchemaMapping; ! ! $xml = ""; ! ! //Do not export questionID - internal SQL variable ! if (array_key_exists('questionID',$stackQuestion)) { ! unset($stackQuestion['questionID']); ! } ! //Do not export body - internal SQL variable. ! if (array_key_exists('questionBody',$stackQuestion)) { ! unset($stackQuestion['questionBody']); ! } ! foreach($stackQuestion as $arrayKey=>$questionField) //Iterate through sub array of each array object ! { ! //Array item is metadata ! if ($questionField['type']=='meta') { ! ! //Check that a metadata tag has been supplied and do not write out if tag has not been supplied ! if (empty($questionField['metatag'])) ! { ! echo'No metadata tag for stackQuestion field: '.$arrayKey.'.<br> As a consequence it has not been written to the XML metadata schema'; ! } ! ! else ! { ! //If metadata is not a selection from a list of specified types ! if (empty($questionField['values'])) ! { ! //Create XML schema fragment ! //Documentation available for column ! if (!empty($questionField['doc'])) { ! $xml.=stack_schema_write_element_document($questionField['metatag'],$questionField['mysql'],$questionField['doc']); ! ! } ! ! //Documentation not available for column ! else { ! //echo "Doucmentation not avilable!"; ! $xml.=stack_schema_write_element($questionField['metatag'],$questionField['mysql']); ! } ! } ! ! //The values field is not empty ! else ! { ! //Create XML schema fragment, and default possible enumeration simpleTypes to be the lower case ! //of the current metadata tag ! if (!empty($questionField['doc'])) { ! $xml.=stack_schema_write_element_document_enum_type($questionField['metatag'],strtolower($questionField['metatag']),$questionField['doc']); ! ! } ! ! //Documentation not available for column ! else { ! $xml.=stack_schema_write_element_enum_type($questionField['metatag'],strtolower($questionField['metatag'])); ! } ! ! //Furthermore, need to create ! } ! ! ! } ! } ! } ! ! return $xml; } --- 315,387 ---- function stack_schema_create_metadata() { ! global $stackQuestion; //use definitive stackQuestion data structure ! global $sqlToSchemaMapping; ! $xml = ""; ! ! //Do not export questionID - internal SQL variable ! if (array_key_exists('questionID',$stackQuestion)) { ! unset($stackQuestion['questionID']); ! } ! //Do not export body - internal SQL variable. ! if (array_key_exists('questionBody',$stackQuestion)) { ! unset($stackQuestion['questionBody']); ! } ! ! foreach($stackQuestion as $arrayKey=>$questionField) //Iterate through sub array of each array object ! { ! //Array item is metadata ! if ($questionField['type']=='meta') { ! ! //Check that a metadata tag has been supplied and do not write out if tag has not been supplied ! if (empty($questionField['metatag'])) ! { ! echo'No metadata tag for stackQuestion field: '.$arrayKey.'.<br> As a consequence it has not been written to the XML metadata schema'; ! } ! ! else ! { ! //If metadata is not a selection from a list of specified types ! if (empty($questionField['values'])) ! { ! //Create XML schema fragment ! //Documentation available for column ! if (!empty($questionField['doc'])) { ! $xml.=stack_schema_write_element_document($questionField['metatag'],$questionField['mysql'],$questionField['doc']); ! ! } ! ! //Documentation not available for column ! else { ! //echo "Doucmentation not avilable!"; ! $xml.=stack_schema_write_element($questionField['metatag'],$questionField['mysql']); ! } ! } ! ! //The values field is not empty ! else ! { ! //Create XML schema fragment, and default possible enumeration simpleTypes to be the lower case ! //of the current metadata tag ! if (!empty($questionField['doc'])) { ! $xml.=stack_schema_write_element_document_enum_type($questionField['metatag'],strtolower($questionField['metatag']),$questionField['doc']); ! ! } ! ! //Documentation not available for column ! else { ! $xml.=stack_schema_write_element_enum_type($questionField['metatag'],strtolower($questionField['metatag'])); ! } ! ! //Furthermore, need to create ! } ! ! ! } ! } ! } ! ! return $xml; } *************** *** 404,433 **** global $sqlToSchemaMapping; ! //Error checking code ! //1. If there is no type associated with the element, then default to a string ! if (empty($elementType)) ! { ! ! //SQL type - text = XML schema type - string ! $elementType='TEXT'; ! } ! ! //2. Ensure element type is upper case to ensure comparison array (SQL->XML variable) will work. ! else ! { ! $elementType = strtoupper($elementType); ! } ! ! //3. Now we are only interested in the first word of the SQL datatype in order to convert to XML datatype, hence explode ! //Make sensitive to white space ! $elementDataType = explode(" ", $elementType); ! ! //4. But we also can have SQL datatypes which give array length - CHAR(22) for example - we are not interested in this ! //Make sensitive to open bracket ! $elementDataType = explode("(", $elementDataType[0]); ! ! echo $sqlToSchemaMapping[$elementDataType[0]]; ! ! return "<xs:element name=".'"'.$elementName.'"'.' type="xs:'.$sqlToSchemaMapping[$elementDataType[0]].'"/>'; } --- 404,433 ---- global $sqlToSchemaMapping; ! //Error checking code ! //1. If there is no type associated with the element, then default to a string ! if (empty($elementType)) ! { ! ! //SQL type - text = XML schema type - string ! $elementType='TEXT'; ! } ! ! //2. Ensure element type is upper case to ensure comparison array (SQL->XML variable) will work. ! else ! { ! $elementType = strtoupper($elementType); ! } ! ! //3. Now we are only interested in the first word of the SQL datatype in order to convert to XML datatype, hence explode ! //Make sensitive to white space ! $elementDataType = explode(" ", $elementType); ! ! //4. But we also can have SQL datatypes which give array length - CHAR(22) for example - we are not interested in this ! //Make sensitive to open bracket ! $elementDataType = explode("(", $elementDataType[0]); ! ! echo $sqlToSchemaMapping[$elementDataType[0]]; ! ! return "<xs:element name=".'"'.$elementName.'"'.' type="xs:'.$sqlToSchemaMapping[$elementDataType[0]].'"/>'; } *************** *** 441,448 **** * Example: * <xs:element name="Keyword" type="xs:string"> ! * <xs:annotation> ! * <xs:documentation>Keywords, for searching over banks of questions. Note that any question with the keyword 'demo' will appear ! * as a demo question for guest users and students to try and edit.</xs:documentation> ! * </xs:annotation> * </xs:element> * --- 441,448 ---- * Example: * <xs:element name="Keyword" type="xs:string"> ! * <xs:annotation> ! * <xs:documentation>Keywords, for searching over banks of questions. Note that any question with the keyword 'demo' will appear ! * as a demo question for guest users and students to try and edit.</xs:documentation> ! * </xs:annotation> * </xs:element> * *************** *** 453,490 **** function stack_schema_write_element_document($elementName, $elementType, $documentTag) { ! global $sqlToSchemaMapping; ! ! //Error checking code ! //1. If there is no type associated with the element, then default to a string ! if (empty($elementType)) ! { ! ! //SQL type - text = XML schema type - string ! $elementType='TEXT'; ! } ! ! //2. Ensure element type is upper case to ensure comparison array (SQL->XML variable) will work. ! else ! { ! $elementType = strtoupper($elementType); ! } ! ! //3. Now we are only interested in the first word of the SQL datatype in order to convert to XML datatype, hence explode ! //Make sensitive to white space ! $elementDataType = explode(" ", $elementType); ! ! //4. But we also can have SQL datatypes which give array length - CHAR(22) for example - we are not interested in this ! //Make sensitive to open bracket ! $elementDataType = explode("(", $elementDataType[0]); ! ! $xml = "<xs:element name=".'"'.$elementName.'"'.' type="xs:'.$sqlToSchemaMapping[$elementDataType[0]].'">'; ! ! //Add documentation to element ! $xml.= '<xs:annotation><xs:documentation>'. ! $documentTag. ! '</xs:documentation></xs:annotation>'. ! '</xs:element>'; ! ! return $xml; } --- 453,490 ---- function stack_schema_write_element_document($elementName, $elementType, $documentTag) { ! global $sqlToSchemaMapping; ! ! //Error checking code ! //1. If there is no type associated with the element, then default to a string ! if (empty($elementType)) ! { ! ! //SQL type - text = XML schema type - string ! $elementType='TEXT'; ! } ! ! //2. Ensure element type is upper case to ensure comparison array (SQL->XML variable) will work. ! else ! { ! $elementType = strtoupper($elementType); ! } ! ! //3. Now we are only interested in the first word of the SQL datatype in order to convert to XML datatype, hence explode ! //Make sensitive to white space ! $elementDataType = explode(" ", $elementType); ! ! //4. But we also can have SQL datatypes which give array length - CHAR(22) for example - we are not interested in this ! //Make sensitive to open bracket ! $elementDataType = explode("(", $elementDataType[0]); ! ! $xml = "<xs:element name=".'"'.$elementName.'"'.' type="xs:'.$sqlToSchemaMapping[$elementDataType[0]].'">'; ! ! //Add documentation to element ! $xml.= '<xs:annotation><xs:documentation>'. ! $documentTag. ! '</xs:documentation></xs:annotation>'. ! '</xs:element>'; ! ! return $xml; } *************** *** 502,516 **** function stack_schema_write_element_enum_type($elementName, $elementType) { ! //Error checking code ! //1. If there is no type associated with the element, return an empty string - this should not be possible ! if (empty($elementType)) ! { ! return ""; ! } ! ! else ! { ! return "<xs:element name=".'"'.$elementName.'"'.' type='.'"'.$elementType.'"'.'/>'; ! } } --- 502,516 ---- function stack_schema_write_element_enum_type($elementName, $elementType) { ! //Error checking code ! //1. If there is no type associated with the element, return an empty string - this should not be possible ! if (empty($elementType)) ! { ! return ""; ! } ! ! else ! { ! return "<xs:element name=".'"'.$elementName.'"'.' type='.'"'.$elementType.'"'.'/>'; ! } } *************** *** 521,528 **** * Example: * <xs:element name="LearningContext" type="learningcontext"> ! * <xs:annotation> ! * <xs:documentation>Describes the educational context of the intended target audience of the resource. ! * User defined list type</xs:documentation> ! * </xs:annotation> * </xs:element> * --- 521,528 ---- * Example: * <xs:element name="LearningContext" type="learningcontext"> ! * <xs:annotation> ! * <xs:documentation>Describes the educational context of the intended target audience of the resource. ! * User defined list type</xs:documentation> ! * </xs:annotation> * </xs:element> * *************** *** 533,558 **** function stack_schema_write_element_document_enum_type($elementName, $elementType, $documentTag) { ! //Error checking code ! //1. If there is no type associated with the element, then return an empty string - cannot continue! ! if (empty($elementType)) ! { ! ! return ""; ! } ! ! //Otherwise elementType is given the lowercase of the metadata tag - correct XML schema construct. ! else ! { ! ! $xml = "<xs:element name=".'"'.$elementName.'"'.' type='.'"'.$elementType.'">'; ! ! //Add documentation to element ! $xml.= '<xs:annotation><xs:documentation>'. ! $documentTag. ! '</xs:documentation></xs:annotation>'. ! '</xs:element>'; ! ! return $xml; ! } } --- 533,558 ---- function stack_schema_write_element_document_enum_type($elementName, $elementType, $documentTag) { ! //Error checking code ! //1. If there is no type associated with the element, then return an empty string - cannot continue! ! if (empty($elementType)) ! { ! ! return ""; ! } ! ! //Otherwise elementType is given the lowercase of the metadata tag - correct XML schema construct. ! else ! { ! ! $xml = "<xs:element name=".'"'.$elementName.'"'.' type='.'"'.$elementType.'">'; ! ! //Add documentation to element ! $xml.= '<xs:annotation><xs:documentation>'. ! $documentTag. ! '</xs:documentation></xs:annotation>'. ! '</xs:element>'; ! ! return $xml; ! } } *************** *** 575,601 **** $xml = ""; ! foreach($stackQuestion as $arrayKey=>$questionField) //Iterate through sub array of each array object ! { ! //Array item is metadata ! if ($questionField['type']=='meta') { ! ! //check to see whether an enum type of values needs to be written out ! if (!empty($questionField['values'])) ! { ! //Check that a metadata tag has been supplied and do not write out if tag has not been supplied ! if (empty($questionField['metatag'])) ! { ! echo'No metadata tag for stackQuestion field: '.$arrayKey.'.<br> As a consequence this enum type has not been written to the XML metadata schema'; ! } ! ! else ! { ! $xml.=stack_schema_create_simpletype($questionField['metatag'],$questionField['values']); ! } ! } ! } ! } ! ! return $xml; } --- 575,601 ---- $xml = ""; ! foreach($stackQuestion as $arrayKey=>$questionField) //Iterate through sub array of each array object ! { ! //Array item is metadata ! if ($questionField['type']=='meta') { ! ! //check to see whether an enum type of values needs to be written out ! if (!empty($questionField['values'])) ! { ! //Check that a metadata tag has been supplied and do not write out if tag has not been supplied ! if (empty($questionField['metatag'])) ! { ! echo'No metadata tag for stackQuestion field: '.$arrayKey.'.<br> As a consequence this enum type has not been written to the XML metadata schema'; ! } ! ! else ! { ! $xml.=stack_schema_create_simpletype($questionField['metatag'],$questionField['values']); ! } ! } ! } ! } ! ! return $xml; } *************** *** 608,622 **** * Example: * <xs:simpleType name="language"> ! * <xs:annotation> ! * <xs:documentation>ISO 639 languages</xs:documentation> ! * </xs:annotation> ! * <xs:restriction base="xs:string"> ! * <xs:length value="2" /> ! * <xs:enumeration value="en" /> ! * <xs:enumeration value="fr" /> ! * <xs:enumeration value="nl" /> ! * <xs:enumeration value="es" /> ! * </xs:restriction> ! * </xs:simpleType> * @param string $simpleTypeName the name of the field - usually lower case derivative of 'metatag' * @param array $possibleValues the possible enumerations of that field --- 608,622 ---- * Example: * <xs:simpleType name="language"> ! * <xs:annotation> ! * <xs:documentation>ISO 639 languages</xs:documentation> ! * </xs:annotation> ! * <xs:restriction base="xs:string"> ! * <xs:length value="2" /> ! * <xs:enumeration value="en" /> ! * <xs:enumeration value="fr" /> ! * <xs:enumeration value="nl" /> ! * <xs:enumeration value="es" /> ! * </xs:restriction> ! * </xs:simpleType> * @param string $simpleTypeName the name of the field - usually lower case derivative of 'metatag' * @param array $possibleValues the possible enumerations of that field *************** *** 625,641 **** function stack_schema_create_simpletype($simpleTypeName,$possibleValues) { ! //Begin element definition ! $xml = "<xs:simpleType name=".'"'.$simpleTypeName.'"'.">"; ! $xml.= '<xs:restriction base="xs:string">'; ! ! foreach ($possibleValues as $value) //Iterate through each of the possible values ! { ! $xml.= "<xs:enumeration value=".'"'.$value.'"'."/>"; //Add to XML enumeration ! } ! ! //Terminate element definition ! $xml.= "</xs:restriction></xs:simpleType>"; ! ! return $xml; } --- 625,641 ---- function stack_schema_create_simpletype($simpleTypeName,$possibleValues) { ! //Begin element definition ! $xml = "<xs:simpleType name=".'"'.$simpleTypeName.'"'.">"; ! $xml.= '<xs:restriction base="xs:string">'; ! ! foreach ($possibleValues as $value) //Iterate through each of the possible values ! { ! $xml.= "<xs:enumeration value=".'"'.$value.'"'."/>"; //Add to XML enumeration ! } ! ! //Terminate element definition ! $xml.= "</xs:restriction></xs:simpleType>"; ! ! return $xml; } |
From: Chris S. <san...@us...> - 2005-07-18 10:11:22
|
Update of /cvsroot/stack/stack-1-0/scripts/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27032/scripts/install Added Files: stackUpdateDatabase.php Log Message: --- NEW FILE: stackUpdateDatabase.php --- <html> <head><title>Update STACK Database utility</title><head> <body> <p><b>This script updates the STACK database with new metadata fields. Please enter your mySQL username and password in the following boxes</b></p> <form action="stackUpdateDatabase.php" method="POST"> <p>mySQL Username:</p> <input type="text" name="userName"> <p>mySQL Password:</p> <input type="password" name="password"> <br><br> <input type="submit" value="Update STACK database" name="submit"> </form> <body><html> <?php /** This PHP script simply adds new fields to mySQL for metadata. This affects both questions and quizzes */ $addQuestionColumnQuery = ' ALTER TABLE stackquestion ADD COLUMN questionPublisher tinytext NULL, ADD COLUMN type tinytext NULL, ADD COLUMN questionFormat tinytext NULL, ADD COLUMN questionLanguage tinytext NULL, ADD COLUMN questionRights text NULL, ADD COLUMN questionLearningContext tinytext NULL, ADD COLUMN questionDifficulty tinytext NULL, ADD COLUMN questionCompetency tinytext NULL, ADD COLUMN questionCompetencyLevel tinytext NULL, ADD COLUMN questionTimeAllocated time NULL, ADD COLUMN questionExcerciseType tinytext NULL, ADD COLUMN questionDateLastEdited datetime NULL, DROP COLUMN questionDateLastEdited;'; $addQuizColumnQuery = ' ALTER TABLE stackquiz ADD COLUMN quizGUID varchar(22) NULL, ADD COLUMN quizKeywords tinytext NULL, ADD COLUMN quizUserLastEdited int NULL, ADD COLUMN quizDateLastEdited datetime NULL, ADD COLUMN quizPublisher tinytext NULL, ADD COLUMN type tinytext NULL, ADD COLUMN quizFormat tinytext NULL, ADD COLUMN quizLanguage tinytext NULL, ADD COLUMN quizRights text NULL, ADD COLUMN quizLearningContext tinytext NULL, ADD COLUMN quizDifficulty tinytext NULL, ADD COLUMN quizCompetency text NULL, ADD COLUMN quizCompetencyLevel text NULL, ADD COLUMN quizTimeAllocated time NULL, ADD COLUMN quizExcerciseType text NULL;'; //Global mysql connection settings $stack_mysql['host'] = 'localhost'; $stack_mysql['user'] = ''; $stack_mysql['pswd'] = ''; $stack_mysql['stackdb'] = 'stack'; //Catch a postback event if (isset($_POST["submit"])) { if (!empty($_POST["userName"]) && !empty($_POST["password"])) { $stack_mysql['user'] = $_POST["userName"]; $stack_mysql['pswd'] = $_POST["password"]; stack_mysqlcmd($addQuestionColumnQuery,$stack_mysql['user'],$error); stack_mysqlcmd($addQuizColumnQuery,$stack_mysql['user'],$error); echo($error); } else { echo("Please ensure you have entered your mySQL username and password!"); } } /** * Used to connect to the MySQL stack database and execute a query. * * * @param string $qu The query to execute * @param string $who The MySQL user name * @param array &$err Array of errors passed by reference * @return void */ function stack_mysqlcmd($qu,$who,&$err) { global $stack_mysql; $host = $stack_mysql['host']; $user = $stack_mysql['user']; $password = $stack_mysql['pswd']; $db = $stack_mysql['stackdb']; mysql_connect($host,$user,$password); mysql_select_db($db); $result = mysql_query($qu); echo "User :<b>$who</b><br> Database Selected: <b>{$db}</b><br> Query: <b>$qu</b>\n<p><b>Results</b></p>\n\n"; if($result == 0) { echo "<b>Error ".mysql_errno().": ".mysql_error()."</b>"; $err=TRUE; } elseif (@mysql_num_rows($result) == 0) { echo("<b>Query completed. No results returned. </b><br />"); } else { echo "<p><table border=1><thead><tr>\n"; for($i = 0;$i < mysql_num_fields($result);$i++) { echo "<th>".mysql_field_name($result,$i). "</th>"; } echo " </tr></thead><tbody>\n"; for ($i = 0; $i < mysql_num_rows($result); $i++) { echo "<tr>"; $row = mysql_fetch_row($result); for($j = 0;$j<mysql_num_fields($result);$j++) { echo("<td>" . $row[$j] . "</td>"); } echo "</tr>\n"; } echo "</tbody></table></p>\n"; } //end else echo "<hr />\n\n\n"; } ?> |
From: pkiddie <pk...@us...> - 2005-07-18 10:07:28
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26321/scripts Modified Files: stackAuthor.php stackQuestion.php stackWin.php stackXML.php Log Message: Index: stackAuthor.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackAuthor.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** stackAuthor.php 14 Jul 2005 07:27:03 -0000 1.26 --- stackAuthor.php 18 Jul 2005 10:07:18 -0000 1.27 *************** *** 8,12 **** */ - //****************************************************** //** Edit options --- 8,11 ---- *************** *** 61,64 **** --- 60,98 ---- } + //<PDK> Added new function for stackQuestion fields + /** + * Generates the portion of the HTML question edit form for editing metadata of with an array of fields + * + * Checks that specified field is of type meta and that an array of values is present. If so, draw a list + * box with all the fields. As these fields contain optional data - they default to 'unspecified' + * + * @param string $name The name of the field in the form + * @param string $opt The option key + * @param mixed $optval The currently set value + * @param int $sz The size of the answer boxes + * @return void + */ + //$qfield,$question[$qfield],$errors, qfield = questionLanguage + function stack_question_edit_metadata_form($name,$opt,$optval,$sz=8) { + global $stackQuestion; + + $fields = $stackQuestion[$opt]; + //Must be of type meta + if ('meta'==$fields['type']) { + if (is_array( $fields['values'])) { //Check that there is an array (list type) in the values tag + echo "\n<select name=\"$name\">\n"; + if ('default'==$optval){echo " <option value='default' selected>default</option>\n";} + else {echo " <option value='default'>default</option>\n";} + + foreach ($fields['values'] as $vals) { + if ($vals==$optval) {echo " <option value='$vals' selected>$vals</option>\n";} + else {echo " <option value='$vals'>$vals</option>\n";} + } + + echo " </select>\n"; + } + } + } + /** * Build the form to edit a list of STACK options. *************** *** 119,122 **** --- 153,157 ---- function stack_question_edit_form($question,&$errors,$PostTo = '') { global $_PHP_SELF; + //show_array($question); if (empty($PostTo)) { *************** *** 169,176 **** --- 204,216 ---- // Add all the metadata to the question. + // <PDK> Added hidden metadata here echo "\n<hr />\n <input type='hidden' name='questionID' value='".sf($question,'questionID')."' />\n <input type='hidden' name='questionGUID' value='".sf($question,'questionGUID')."' />\n <input type='hidden' name='questionDateLastEdited' value='$t' />\n + <input type='hidden' name='questionPublisher' value='".sf($question,'questionPublisher')."' />\n + <input type='hidden' name='questionType' value='".sf($question,'questionType')."' />\n + <input type='hidden' name='questionFormat' value='".sf($question,'questionFormat')."' />\n + <table cellboarder='0' cellpadding='2'> <tr> <td>".get_string('stackQuestion_questionName','stack','').":</td> *************** *** 180,185 **** <tr> <td>".get_string('stackQuestion_questionKeywords','stack','').":</td> <td><input type='input' name='questionKeywords' value='".sf($question,'questionKeywords')."' size='60' /></tr> </table> "; ! // HACK: the field type in the database does not // allow these to be edited yet. --- 220,226 ---- <tr> <td>".get_string('stackQuestion_questionKeywords','stack','').":</td> <td><input type='input' name='questionKeywords' value='".sf($question,'questionKeywords')."' size='60' /></tr> + </table> "; ! // HACK: the field type in the database does not // allow these to be edited yet. *************** *** 329,333 **** echo "</p>"; } ! $options_headings = array(get_string('stackOptions_edit_inmeth','stack'),'','','',get_string('stackOptions_edit_resppro','stack'),'','','','','',get_string('stackOptions_edit_out','stack'),''); $options_list = array('InsertStars','InformalSyntax','AllowInputTool','SyntaxHint','Forbid','Allow','MarkModMethod','FeedBackGenericCorrect','FeedBackGenericPCorrect','FeedBackGenericIncorrect','Display','ShowSol'); --- 370,459 ---- echo "</p>"; } ! ! //<PDK> Insert user definable metadata here ! /* echo "\n<hr />\n ! <table cellboarder='0' cellpadding='2'> ! <tr> <td>".get_string('stackQuestion_questionLanguage','stack','').":</td> ! <td><input type='input' name='questionLanguage' value='".sf($question,'questionLanguage')."' size='10' /></tr> ! <tr> <td>".get_string('stackQuestion_questionLearningContext','stack','').":</td> ! <td><input type='input' name='questionLearningContext' value='".sf($question,'questionLearningContext')."' size='20' /></tr> ! <tr> <td>".get_string('stackQuestion_questionDifficulty','stack','').":</td> ! <td><input type='input' name='questionDifficulty' value='".sf($question,'questionDifficulty')."' size='20' /></tr> ! <tr> <td>".get_string('stackQuestion_questionCompetency','stack','').":</td> ! <td><input type='input' name='questionCompetency' value='".sf($question,'questionCompetency')."' size='20' /></tr> ! <tr> <td>".get_string('stackQuestion_questionCompetencyLevel','stack','').":</td> ! <td><input type='input' name='questionCompetencyLevel' value='".sf($question,'questionCompetency')."' size='20' /></tr> ! <tr> <td>".get_string('stackQuestion_questionTimeAllocated','stack','').":</td> ! <td><input type='input' name='questionTimeAllocated' value='".sf($question,'questionTimeAllocated')."' size='20' /></tr> ! <tr> <td>".get_string('stackQuestion_questionExcerciseType','stack','').":</td> ! <td><input type='input' name='questionExcerciseType' value='".sf($question,'questionExcerciseType')."' size='20' /></tr> ! </table> "; */ ! ! include('stackXML.php'); ! stack_schema_write_metadata(""); ! ! echo "\n<hr />\n"; ! ! $qfield='questionLanguage'; ! $qfield_name = "question[{$qfield}]"; ! echo "<b>".stack_question_edit_dispquestionfield($qfield)."</b>"; ! @stack_question_edit_metadata_form($qfield_name,$qfield,$errors); ! ! echo"({$stackQuestion[$qfield]['default']})";//</tr>"; ! echo "<br />"; ! ! ! $qfield='questionLearningContext'; ! $qfield_name = "question[{$qfield}]"; ! echo "<b>".stack_question_edit_dispquestionfield($qfield)."</b>"; ! @stack_question_edit_metadata_form($qfield_name,$qfield,$errors); ! echo"({$stackQuestion[$qfield]['default']})";//</tr>"; ! echo "<br />"; ! ! ! ! $qfield='questionDifficulty'; ! $qfield_name = "question[{$qfield}]"; ! echo "<b>".stack_question_edit_dispquestionfield($qfield)."</b>"; ! @stack_question_edit_metadata_form($qfield_name,$qfield,$errors); ! echo"({$stackQuestion[$qfield]['default']})";//</tr>"; ! echo "<br />"; ! ! $qfield='questionCompetency'; ! $qfield_name = "question[{$qfield}]"; ! echo "<b>".stack_question_edit_dispquestionfield($qfield)."</b>"; ! @stack_question_edit_metadata_form($qfield_name,$qfield,$errors); ! echo"({$stackQuestion[$qfield]['default']})";//</tr>"; ! echo "<br />"; ! ! $qfield='questionCompetencyLevel'; ! $qfield_name = "question[{$qfield}]"; ! echo "<b>".stack_question_edit_dispquestionfield($qfield)."</b>"; ! @stack_question_edit_metadata_form($qfield_name,$qfield,$errors); ! echo"({$stackQuestion[$qfield]['default']})";//</tr>"; ! echo "<br />"; ! ! $qfield='questionExcerciseType'; ! $qfield_name = "question[{$qfield}]"; ! echo "<br /><b>".stack_question_edit_dispquestionfield($qfield)."</b>"; ! @stack_question_edit_metadata_form($qfield_name,$qfield,$errors); ! echo"({$stackQuestion[$qfield]['default']})";//</tr>"; ! echo "<br />"; ! ! $qfield='questionTimeAllocated'; ! $qfield_name = "question[{$qfield}]"; ! echo "<b>".stack_question_edit_dispquestionfield($qfield)."</b>"; ! echo "<input type='input' name='questionTimeAllocated' value='".sf($question,'questionTimeAllocated')."' size='20' />"; ! echo"({$stackQuestion[$qfield]['default']})";//</tr>"; ! echo "<br />"; ! ! $qfield='questionRights'; ! $qfield_name = "question[{$qfield}]"; ! echo "<b>".stack_question_edit_dispquestionfield($qfield)."</b>"; ! echo "<input type='input' name='questionRights' value='".sf($question,'questionRights')."' size='20' />"; ! echo"({$stackQuestion[$qfield]['default']})";//</tr>"; ! echo "<br />"; ! ! echo "\n<hr />\n"; $options_headings = array(get_string('stackOptions_edit_inmeth','stack'),'','','',get_string('stackOptions_edit_resppro','stack'),'','','','','',get_string('stackOptions_edit_out','stack'),''); $options_list = array('InsertStars','InformalSyntax','AllowInputTool','SyntaxHint','Forbid','Allow','MarkModMethod','FeedBackGenericCorrect','FeedBackGenericPCorrect','FeedBackGenericIncorrect','Display','ShowSol'); Index: stackXML.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackXML.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** stackXML.php 20 Jun 2005 15:42:55 -0000 1.3 --- stackXML.php 18 Jul 2005 10:07:18 -0000 1.4 *************** *** 2,6 **** /** ! * XML import and export of STACK questions. * * @package scripts --- 2,6 ---- /** ! * Defines XML handling within STACK * * @package scripts *************** *** 8,11 **** --- 8,24 ---- */ + //<PDK> sqlToSchemaMapping array maps basic SQL data types used in STAKCK to their respective XML schema data types + $sqlToSchemaMapping['CHAR']='string'; + $sqlToSchemaMapping['VARCHAR']='string'; + $sqlToSchemaMapping['TEXT']='string'; + $sqlToSchemaMapping['TINYTEXT']='string'; + $sqlToSchemaMapping['INT']='int'; + $sqlToSchemaMapping['INT UNSIGNED']='int'; + $sqlToSchemaMapping['DECIMAL']='decimal'; + $sqlToSchemaMapping['DATE']='date'; + $sqlToSchemaMapping['TIME']='time'; + $sqlToSchemaMapping['DATETIME']='dateTime'; + $sqlToSchemaMapping['TIMESTAMP']='time'; + /** * Writes a single stackQuestion data structure to an XML string. *************** *** 218,220 **** --- 231,643 ---- } + //<PDK> + /** + * Writes an XML schema file of the current metadata tags used in STACK + * + * XML schema used within STACK to validate questions on import/export, and provide a definition of the metadata document + * + * @param string $directory The directory to store the XSD file (web server must have permissions) + * @return the XSD filename representing the schema + */ + function stack_schema_write_metadata($directory) + { + //take the stackQuestion and extract all the current metadata tags, putting them into a schema + //file extension .xsd represents schema + $schema_file_name='stack_metadata.xsd'; + //create file used for writing + $xml_file_handle = fopen($directory.$schema_file_name,"w"); + + if (!$xml_file_handle) + { + echo "File could not be opened for writing. Please contact the network administrator."; + } + + else + { + //Write the XML schema header - same for all XML schemas + $xml = '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">'. + "\n". + '<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>'. + //Create root element 'metadata' + stack_schema_create_root("metadata"). + stack_schema_create_metadata(). + stack_schema_escape_root(). + stack_schema_create_enum_types(). + //End of schema + '</xs:schema>'; + + //write out xml string + fputs($xml_file_handle,$xml); + //close xml file + fclose($xml_file_handle); + } + + return $schema_file_name; + } + + /** + * Creates the root element of an XML schema definition + * IMPORTANT TO CALL FIRST BEFORE CREATION OF METADATA ELEMENTS + * + * @param string $rootElement The root element to create + * @return string root element as XML string + */ + function stack_schema_create_root($rootElement) + { + return "<xs:element name=".'"'.$rootElement.'">'. + '<xs:complexType>'. + '<xs:sequence>'; + } + + /** + * Terminates the root element of an XML schema definition + * + * @return string root element termination as an XML string + */ + function stack_schema_escape_root() + { + return '</xs:sequence>'. + '</xs:complexType>'. + "</xs:element>"; + } + + /** + * Writes the current stackQuestion metadata structure to an XML string + * + * Iterates through each of the fields within the stackQuestion array. If the type 'meta' is detected, (ignoring the internal SQL + * questionID and body), the relevant documentation is looked up and a schema element is written out, of the correct type + * + * Will not write an field out that is marked as 'meta' and does not have a 'metatag' value, but will raise an error. + * + * @param + * @return the XML string representing the entire metadata schema + */ + function stack_schema_create_metadata() + { + global $stackQuestion; //use definitive stackQuestion data structure + global $sqlToSchemaMapping; + + $xml = ""; + + //Do not export questionID - internal SQL variable + if (array_key_exists('questionID',$stackQuestion)) { + unset($stackQuestion['questionID']); + } + + //Do not export body - internal SQL variable. + if (array_key_exists('questionBody',$stackQuestion)) { + unset($stackQuestion['questionBody']); + } + + foreach($stackQuestion as $arrayKey=>$questionField) //Iterate through sub array of each array object + { + //Array item is metadata + if ($questionField['type']=='meta') { + + //Check that a metadata tag has been supplied and do not write out if tag has not been supplied + if (empty($questionField['metatag'])) + { + echo'No metadata tag for stackQuestion field: '.$arrayKey.'.<br> As a consequence it has not been written to the XML metadata schema'; + } + + else + { + //If metadata is not a selection from a list of specified types + if (empty($questionField['values'])) + { + //Create XML schema fragment + //Documentation available for column + if (!empty($questionField['doc'])) { + $xml.=stack_schema_write_element_document($questionField['metatag'],$questionField['mysql'],$questionField['doc']); + + } + + //Documentation not available for column + else { + //echo "Doucmentation not avilable!"; + $xml.=stack_schema_write_element($questionField['metatag'],$questionField['mysql']); + } + } + + //The values field is not empty + else + { + //Create XML schema fragment, and default possible enumeration simpleTypes to be the lower case + //of the current metadata tag + if (!empty($questionField['doc'])) { + $xml.=stack_schema_write_element_document_enum_type($questionField['metatag'],strtolower($questionField['metatag']),$questionField['doc']); + + } + + //Documentation not available for column + else { + $xml.=stack_schema_write_element_enum_type($questionField['metatag'],strtolower($questionField['metatag'])); + } + + //Furthermore, need to create + } + + + } + } + } + + return $xml; + } + + /** + * Writes a given field within stackQuestion as a schema element, with a representative XML schema datatype + * + * First ensure a 'datatype' has been declared otherwise default to a string. If a datatype has been declared then convert to upper case. + * Then seperate the first 'word' of the datatype, is this contains the important SQL datatype, and remove any array indicators from the + * datatype. + * + * Example: + * <xs:element name="Keyword" type="xs:string"/> + * + * @param string $elementName The name of the schema element + * @param string $elementType The datatype of the schema element to be represented + * @return string $xml the XML string representing the schema element + */ + function stack_schema_write_element($elementName, $elementType) + { + global $sqlToSchemaMapping; + + //Error checking code + //1. If there is no type associated with the element, then default to a string + if (empty($elementType)) + { + + //SQL type - text = XML schema type - string + $elementType='TEXT'; + } + + //2. Ensure element type is upper case to ensure comparison array (SQL->XML variable) will work. + else + { + $elementType = strtoupper($elementType); + } + + //3. Now we are only interested in the first word of the SQL datatype in order to convert to XML datatype, hence explode + //Make sensitive to white space + $elementDataType = explode(" ", $elementType); + + //4. But we also can have SQL datatypes which give array length - CHAR(22) for example - we are not interested in this + //Make sensitive to open bracket + $elementDataType = explode("(", $elementDataType[0]); + + echo $sqlToSchemaMapping[$elementDataType[0]]; + + return "<xs:element name=".'"'.$elementName.'"'.' type="xs:'.$sqlToSchemaMapping[$elementDataType[0]].'"/>'; + } + + /** + * Writes a given field within stackQuestion as a schema element, with a representative XML schema datatype, and documentation for that element + * + * First ensure a 'datatype' has been declared otherwise default to a string. If a datatype has been declared then convert to upper case. + * Then seperate the first 'word' of the datatype, is this contains the important SQL datatype, and remove any array indicators from the + * datatype. + * + * Example: + * <xs:element name="Keyword" type="xs:string"> + * <xs:annotation> + * <xs:documentation>Keywords, for searching over banks of questions. Note that any question with the keyword 'demo' will appear + * as a demo question for guest users and students to try and edit.</xs:documentation> + * </xs:annotation> + * </xs:element> + * + * @param string $elementName The name of the schema element + * @param string $elementType The datatype of the schema element to be represented + * @return string $xml the XML string representing the schema element + */ + function stack_schema_write_element_document($elementName, $elementType, $documentTag) + { + global $sqlToSchemaMapping; + + //Error checking code + //1. If there is no type associated with the element, then default to a string + if (empty($elementType)) + { + + //SQL type - text = XML schema type - string + $elementType='TEXT'; + } + + //2. Ensure element type is upper case to ensure comparison array (SQL->XML variable) will work. + else + { + $elementType = strtoupper($elementType); + } + + //3. Now we are only interested in the first word of the SQL datatype in order to convert to XML datatype, hence explode + //Make sensitive to white space + $elementDataType = explode(" ", $elementType); + + //4. But we also can have SQL datatypes which give array length - CHAR(22) for example - we are not interested in this + //Make sensitive to open bracket + $elementDataType = explode("(", $elementDataType[0]); + + $xml = "<xs:element name=".'"'.$elementName.'"'.' type="xs:'.$sqlToSchemaMapping[$elementDataType[0]].'">'; + + //Add documentation to element + $xml.= '<xs:annotation><xs:documentation>'. + $documentTag. + '</xs:documentation></xs:annotation>'. + '</xs:element>'; + + return $xml; + } + + /** + * Writes a field within stackQuestion of 'list' type as an element which references a list of enumerated types within a simpleType XML + * schema definition giving the possible values the field can take + * + * Example: + * <xs:element name="LearningContext" type="learningcontext"/> + * + * @param string $elementName The name of the schema element + * @param string $elementType The datatype of the possible enumerations + * @return string the XML string representing the schema element + */ + function stack_schema_write_element_enum_type($elementName, $elementType) + { + //Error checking code + //1. If there is no type associated with the element, return an empty string - this should not be possible + if (empty($elementType)) + { + return ""; + } + + else + { + return "<xs:element name=".'"'.$elementName.'"'.' type='.'"'.$elementType.'"'.'/>'; + } + } + + /** + * Writes a field within stackQuestion of 'list' type as an element which references a list of enumerated types within a simpleType XML + * schema definition giving the possible values the field can take, along with documentation for that field - taken from stackQuestion['field']['doc']. + * + * Example: + * <xs:element name="LearningContext" type="learningcontext"> + * <xs:annotation> + * <xs:documentation>Describes the educational context of the intended target audience of the resource. + * User defined list type</xs:documentation> + * </xs:annotation> + * </xs:element> + * + * @param string $elementName The name of the schema element + * @param string $elementType The datatype of the possible enumerations + * @return string $xml the XML string representing the schema element + */ + function stack_schema_write_element_document_enum_type($elementName, $elementType, $documentTag) + { + //Error checking code + //1. If there is no type associated with the element, then return an empty string - cannot continue! + if (empty($elementType)) + { + + return ""; + } + + //Otherwise elementType is given the lowercase of the metadata tag - correct XML schema construct. + else + { + + $xml = "<xs:element name=".'"'.$elementName.'"'.' type='.'"'.$elementType.'">'; + + //Add documentation to element + $xml.= '<xs:annotation><xs:documentation>'. + $documentTag. + '</xs:documentation></xs:annotation>'. + '</xs:element>'; + + return $xml; + } + } + + //This function like before iterates through each of the metadata values and if a list type has been detected write this out! + + /** + * Writes the current stackQuestion enumeration types to an XML string + * + * Iterates through each of the fields within the stackQuestion array. If the type 'meta' is detected, (ignoring the internal SQL + * questionID and body), and a list of values exist, an XML schema simpleType is created which encapsulates these. + * + * Will not write an field out that is marked as 'meta' and does not have a 'metatag' value, but will raise an error. + * + * @return string $xml the XML string representing the entire metadata schema + */ + function stack_schema_create_enum_types() + { + global $stackQuestion; + + $xml = ""; + + foreach($stackQuestion as $arrayKey=>$questionField) //Iterate through sub array of each array object + { + //Array item is metadata + if ($questionField['type']=='meta') { + + //check to see whether an enum type of values needs to be written out + if (!empty($questionField['values'])) + { + //Check that a metadata tag has been supplied and do not write out if tag has not been supplied + if (empty($questionField['metatag'])) + { + echo'No metadata tag for stackQuestion field: '.$arrayKey.'.<br> As a consequence this enum type has not been written to the XML metadata schema'; + } + + else + { + $xml.=stack_schema_create_simpletype($questionField['metatag'],$questionField['values']); + } + } + } + } + + return $xml; + } + + /** + * Creates the XML schema simple type containing a list of possible enumerations for the selected type + * + * Iterates through each of the fields within the stackQuestion array. If the type 'meta' is detected, (ignoring the internal SQL + * questionID and body), and a list of values exist, an XML schema simpleType is created which encapsulates these. + * Will not write an field out that is marked as 'meta' and does not have a 'metatag' value, but will raise an error. + * Example: + * <xs:simpleType name="language"> + * <xs:annotation> + * <xs:documentation>ISO 639 languages</xs:documentation> + * </xs:annotation> + * <xs:restriction base="xs:string"> + * <xs:length value="2" /> + * <xs:enumeration value="en" /> + * <xs:enumeration value="fr" /> + * <xs:enumeration value="nl" /> + * <xs:enumeration value="es" /> + * </xs:restriction> + * </xs:simpleType> + * @param string $simpleTypeName the name of the field - usually lower case derivative of 'metatag' + * @param array $possibleValues the possible enumerations of that field + * @return string $xml the XML string representing the entire simpleType + */ + function stack_schema_create_simpletype($simpleTypeName,$possibleValues) + { + //Begin element definition + $xml = "<xs:simpleType name=".'"'.$simpleTypeName.'"'.">"; + $xml.= '<xs:restriction base="xs:string">'; + + foreach ($possibleValues as $value) //Iterate through each of the possible values + { + $xml.= "<xs:enumeration value=".'"'.$value.'"'."/>"; //Add to XML enumeration + } + + //Terminate element definition + $xml.= "</xs:restriction></xs:simpleType>"; + + return $xml; + } + + ?> Index: stackWin.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackWin.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** stackWin.php 14 Jul 2005 08:46:53 -0000 1.5 --- stackWin.php 18 Jul 2005 10:07:18 -0000 1.6 *************** *** 92,97 **** if(is_resource($TeXProcess)) { - //echo $strin; - if (!fwrite($pipes[0], $stack_cas['initCommand'])) { echo "<br />Could not write to the CAS process!<br/ >\n"; --- 92,95 ---- *************** *** 134,138 **** //This is useful for debuggin. Removing the comments below will echo //exactly the CAS session ! //echo "<pre>".$ret."</pre>"; $ret = trim($ret); --- 132,136 ---- //This is useful for debuggin. Removing the comments below will echo //exactly the CAS session ! echo "<pre>".$ret."</pre>"; $ret = trim($ret); Index: stackQuestion.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackQuestion.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** stackQuestion.php 14 Jul 2005 16:18:19 -0000 1.24 --- stackQuestion.php 18 Jul 2005 10:07:18 -0000 1.25 *************** *** 208,211 **** --- 208,212 ---- $stackQuestion['questionGUID']['required']='system'; $stackQuestion['questionGUID']['mysql']='CHAR(22) UNIQUE KEY'; //GUID's are 32byte characters + $stackQuestion['questionGUID']['metatag']='Identifier'; // 'Name'; *************** *** 213,216 **** --- 214,218 ---- $stackQuestion['questionName']['required']='optional'; $stackQuestion['questionName']['mysql']='TINYTEXT'; + $stackQuestion['questionName']['metatag']='Title'; // 'Description'; *************** *** 218,221 **** --- 220,224 ---- $stackQuestion['questionDescription']['required']='optional'; $stackQuestion['questionDescription']['mysql']='TEXT'; + $stackQuestion['questionDescription']['metatag']='Description'; // 'Keywords'; *************** *** 223,226 **** --- 226,230 ---- $stackQuestion['questionKeywords']['required']='optional'; $stackQuestion['questionKeywords']['mysql']='TINYTEXT'; + $stackQuestion['questionKeywords']['metatag']='Keyword'; // 'Body'; *************** *** 233,236 **** --- 237,241 ---- $stackQuestion['questionUserLastEdited']['required']='system'; $stackQuestion['questionUserLastEdited']['mysql']='INT UNSIGNED'; + $stackQuestion['questionUserLastEdited']['metatag']='Creator'; // 'Last edited on'; *************** *** 238,241 **** --- 243,340 ---- $stackQuestion['questionDateLastEdited']['required']='system'; $stackQuestion['questionDateLastEdited']['mysql']='TIMESTAMP'; + $stackQuestion['questionDateLastEdited']['metatag']='Date'; + + //Tags to be added to SQL server + //Publisher + $stackQuestion['questionPublisher']['type']='meta'; + $stackQuestion['questionPublisher']['required']='system'; + $stackQuestion['questionPublisher']['mysql']='TINYTEXT'; + $stackQuestion['questionPublisher']['metatag']='Publisher'; + + //Type: Hidden from user + $stackQuestion['type']['type']='meta'; + $stackQuestion['type']['values']=array('question','quiz'); //Default to 'type' enumeration in XSD file + $stackQuestion['type']['required']='optional'; + $stackQuestion['type']['mysql']='TINYTEXT'; + $stackQuestion['type']['metatag']='Type'; + + //Format: Hidden from user, selected by script + $stackQuestion['questionFormat']['type']='meta'; + $stackQuestion['questionFormat']['values']=array('application','audio','image', + 'message','model','text','video', + 'multipart'); + $stackQuestion['questionFormat']['required']='optional'; + $stackQuestion['questionFormat']['mysql']='TINYTEXT'; + $stackQuestion['questionFormat']['metatag']='Format'; + + //Language: Defaulted to current system language, but user definable + $stackQuestion['questionLanguage']['type']='meta'; + $stackQuestion['questionLanguage']['values']=array('en','fr','nl','es','unspecified'); + $stackQuestion['questionLanguage']['required']='optional'; + $stackQuestion['questionLanguage']['mysql']='TINYTEXT'; + $stackQuestion['questionLanguage']['metatag']='Language'; + $stackQuestion['questionLanguage']['default']='unspecified'; + + //Rights + $stackQuestion['questionRights']['type']='meta'; + $stackQuestion['questionRights']['required']='optional'; + $stackQuestion['questionRights']['mysql']='TEXT'; + $stackQuestion['questionRights']['metatag']='Rights'; + $stackQuestion['questionRights']['default']='http://www.gnu.org/copyleft/gpl.html'; + + //Learning context: Defaulted to system context, but user definable + $stackQuestion['questionLearningContext']['type']='meta'; + $stackQuestion['questionLearningContext']['values']=array('Primary Education','Secondary Education','Higher Education', + 'University First Cycle','University Second Cycle','University Post Grade', + 'Technical School First Cycle','Technical School Second Cycle','Professional Formation', + 'Continuous Formation','Vocational Training','unspecified'); + $stackQuestion['questionLearningContext']['required']='optional'; + $stackQuestion['questionLearningContext']['mysql']='TINYTEXT'; + $stackQuestion['questionLearningContext']['metatag']='LearningContext'; + $stackQuestion['questionLearningContext']['default']='unspecified'; + + //Difficulty: Default to null - up to user to specify this + $stackQuestion['questionDifficulty']['type']='meta'; + $stackQuestion['questionDifficulty']['values']=array('Very Easy','Easy','Medium', + 'Difficult','Very Difficult','unspecified'); + $stackQuestion['questionDifficulty']['required']='optional'; + $stackQuestion['questionDifficulty']['mysql']='TINYTEXT'; + $stackQuestion['questionDifficulty']['metatag']='Difficulty'; + $stackQuestion['questionDifficulty']['default']='unspecified'; + + //Competency: Default to solve - then up to user + $stackQuestion['questionCompetency']['type']='meta'; + $stackQuestion['questionCompetency']['values']=array('think','argue','solve', + 'represent','language','communicate', + 'tools','unspecified'); + $stackQuestion['questionCompetency']['required']='optional'; + $stackQuestion['questionCompetency']['mysql']='TINYTEXT'; + $stackQuestion['questionCompetency']['metatag']='Competency'; + $stackQuestion['questionCompetency']['default']='unspecified'; + + //CompetencyLevel: Default to null - then up to user + $stackQuestion['questionCompetencyLevel']['type']='meta'; + $stackQuestion['questionCompetencyLevel']['values']=array('elementary','simpleConceptual','multiStep', + 'complex','unspecified'); + $stackQuestion['questionCompetencyLevel']['required']='optional'; + $stackQuestion['questionCompetencyLevel']['mysql']='TINYTEXT'; + $stackQuestion['questionCompetencyLevel']['metatag']='CompetencyLevel'; + $stackQuestion['questionCompetencyLevel']['default']='unspecified'; + + //Time to allocate: Default to null - then up to user + $stackQuestion['questionTimeAllocated']['type']='meta'; + $stackQuestion['questionTimeAllocated']['required']='optional'; + $stackQuestion['questionTimeAllocated']['mysql']='TIME'; + $stackQuestion['questionTimeAllocated']['metatag']='TypicalLearningTime'; + $stackQuestion['questionTimeAllocated']['default']='0'; + + //Type of question: Default to algebraicExpression as that is only type of question atm, but provides extensibility + $stackQuestion['questionExcerciseType']['type']='meta'; + $stackQuestion['questionExcerciseType']['values']=array('algebraicExpression','mcqSingleAnswer','mcqMultipleAnswer', + 'fillInBlank','unspecified'); + $stackQuestion['questionExcerciseType']['required']='optional'; + $stackQuestion['questionExcerciseType']['mysql']='TINYTEXT'; + $stackQuestion['questionExcerciseType']['metatag']='ExcerciseType'; + $stackQuestion['questionExcerciseType']['default']='unspecified'; |
From: pkiddie <pk...@us...> - 2005-07-18 10:07:27
|
Update of /cvsroot/stack/stack-1-0/lang/en In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26321/lang/en Modified Files: stack.php Log Message: Index: stack.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/stack.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** stack.php 14 Jul 2005 18:19:57 -0000 1.12 --- stack.php 18 Jul 2005 10:07:18 -0000 1.13 *************** *** 158,161 **** --- 158,174 ---- $string['stackQuestion_questionDateLastEdited'] = 'Last edited on'; + // <PDK> $stackQuestion metadata added + $string['stackQuestion_questionPublisher'] = 'Server published'; + $string['stackQuestion_questionType'] = 'Nature of content'; + $string['stackQuestion_questionFormat'] = 'Digital manifestation'; + $string['stackQuestion_questionLanguage'] = 'Language of content'; + $string['stackQuestion_questionLearningContext']= 'Targetted to'; + $string['stackQuestion_questionDifficulty'] = 'Difficulty'; + $string['stackQuestion_questionCompetency'] = 'Competencies trained'; + $string['stackQuestion_questionCompetencyLevel']= 'Skills required'; + $string['stackQuestion_questionTimeAllocated'] = 'Recommended time to take'; + $string['stackQuestion_questionExcerciseType'] = 'Type of question'; + $string['stackQuestion_questionRights'] = 'Rights statement'; + // Used in the question bank order select form to indicate no selection. $string['stackQuestion_NONE'] = '[NONE]'; |
From: pkiddie <pk...@us...> - 2005-07-18 10:07:26
|
Update of /cvsroot/stack/stack-1-0/lang/en/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26321/lang/en/doc Modified Files: en_doc.php Log Message: Index: en_doc.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/en_doc.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** en_doc.php 14 Jul 2005 12:53:40 -0000 1.2 --- en_doc.php 18 Jul 2005 10:07:17 -0000 1.3 *************** *** 103,106 **** --- 103,139 ---- $stackQuestion['questionDateLastEdited']['doc']="An automatic time stamp showing when the question was last edited."; + //<PDK> New stackQuestion documentation for extra metadata tags + $stackQuestion['questionPublisher']['doc']="The server URL responsible for making the question available. Internal variable"; + + //Type + $stackQuestion['questionType']['doc']="Nature of genre of content of resource. Internal variable: most likely text for question"; + + //Format + $stackQuestion['questionFormat']['doc']="Digital manifestation of resource. Internal variable: most likely stackQuestion/(version number)"; + + //Language + $stackQuestion['questionLanguage']['doc']="language of content of resource. User defined, maybe default to users current Windows/Linux language setting"; + + //Rights + $stackQuestion['questionRights']['doc']="Rights management statement for the resource, or reference to a service providing such information"; + + //Learning context + $stackQuestion['questionLearningContext']['doc']="Describes the educational context of the intended target audience of the resource. User defined list type"; + + //Difficulty + $stackQuestion['questionDifficulty']['doc']="How difficult it is to work through the resource for the given target audience. Percieved difficulty, user defined list type"; + + //Competency + $stackQuestion['questionCompetency']['doc']="Mathematical competancies a resource trains. User defined, list type"; + + //CompetencyLevel + $stackQuestion['questionCompetencyLevel']['doc']="Mathematical skills a resource requires/trains. User defined, list type"; + + //Time to allocate + $stackQuestion['questionTimeAllocated']['doc']="An approximate time it takes to work with the resource. User defined, list type"; + + //Type of question + $stackQuestion['questionExcerciseType']['doc']="Type of interactive elements used in the context of the excercise. User defined, list type"; + // three extra fields! |
From: Chris S. <san...@us...> - 2005-07-14 18:53:56
|
Update of /cvsroot/stack/stack-1-0/api/moodlelib/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/moodlelib/Stack Added Files: _scripts_moodlelib_php.html Log Message: Updated API --- NEW FILE: _scripts_moodlelib_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page moodlelib.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/moodlelib.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file contains functions of the same name as those provided by Moodle.</p> <p class="description"><p>These functions do the same kinds of things as those in Moodle, to allow later integration of STACK into moodle. In particular, they are designed for language support.</p></p> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionget_string" id="functionget_string"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">get_string</span> (line <span class="line-number">93</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Returns a localized string.</p> <p class="description"><p>Returns the translated string specified by $identifier as for $module. Uses the same format files as STphp. $a is an object, string or number that can be used within translation strings</p><p>eg "hello \$a->firstname \$a->lastname" or "hello \$a"</p><p>If you would like to directly echo the localized string use the function <a href="../../moodlelib/Stack/_scripts_moodlelib_php.html#functionprint_string">print_string()</a></p><p>Example usage of this function involves finding the string you would like a local equivalent of and using its identifier and module information to retrive it.<br /> If you open moodle/lang/en/moodle.php and look near line 1031 you will find a string to prompt a user for their word for student <pre><code><pre><br />1 <span class="src-var">$string</span><span class="src-sym">[</span><span class="src-str">'wordforstudent'</span><span class="src-sym">]</span> = <span class="src-str">'Your word for Student'</span>;</pre></code></pre> So if you want to display the string 'Your word for student' in any language that supports it on your site you just need to use the identifier 'wordforstudent' <pre><code><pre><br />1 <span class="src-var">$mystring</span> = <span class="src-str">'<strong>'</span>. <a href="../../moodlelib/Stack/_scripts_moodlelib_php.html#functionget_string">get_string</a><span class="src-sym">(</span><span class="src-str">'wordforstudent'</span><span class="src-sym">)</span> .<span class="src-str">'</strong>'</span>;<br />2 <span class="src-key">or</span></pre></code></pre> If the string you want is in another file you'd take a slightly different approach. Looking in moodle/lang/en/calendar.php you find around line 75: <pre><code><pre><br />1 <span class="src-var">$string</span><span class="src-sym">[</span><span class="src-str">'typecourse'</span><span class="src-sym">]</span> = <span class="src-str">'Course event'</span>;</pre></code></pre> If you want to display the string "Course event" in any language supported you would use the identifier 'typecourse' and the module 'calendar' (because it is in the file calendar.php): <pre><code><pre><br />1 <span class="src-var">$mystring</span> = <span class="src-str">'<h1>'</span>. <a href="../../moodlelib/Stack/_scripts_moodlelib_php.html#functionget_string">get_string</a><span class="src-sym">(</span><span class="src-str">'typecourse'</span><span class="src-sym">,</span> <span class="src-str">'calendar'</span><span class="src-sym">)</span> .<span class="src-str">'</h1>'</span>;</pre></code></pre></p><p>As a last resort, should the identifier fail to map to a string the returned string will be [[ $identifier ]]</p></p> <ul class="tags"> <li><span class="field">return:</span> The localized string.</li> <li><span class="field">uses:</span> $CFG</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> get_string </span> (<span class="var-type">string</span> <span class="var-name">$identifier</span>, [<span class="var-type">string</span> <span class="var-name">$module</span> = <span class="var-default">''</span>], [<span class="var-type">mixed</span> <span class="var-name">$a</span> = <span class="var-default">NULL</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$identifier</span><span class="var-description">: The key identifier for the localized string</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$module</span><span class="var-description">: The module where the key identifier is stored. If none is specified then moodle.php is used.</span> </li> <li> <span class="var-type">mixed</span> <span class="var-name">$a</span><span class="var-description">: An object, string or number that can be used within translation strings.</span> </li> </ul> </div> <a name="functionget_strings" id="functionget_strings"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">get_strings</span> (line <span class="line-number">159</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Converts an array of strings to their localized value.</p> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> get_strings </span> (<span class="var-type">array</span> <span class="var-name">$array</span>, [<span class="var-type">string</span> <span class="var-name">$module</span> = <span class="var-default">''</span>]) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$array</span><span class="var-description">: An array of strings</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$module</span><span class="var-description">: The language module that these strings can be found in.</span> </li> </ul> </div> <a name="functionprint_string" id="functionprint_string"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">print_string</span> (line <span class="line-number">38</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Prints out a translated string.</p> <p class="description"><p>Prints out a translated string using the return value from the <a href="../../moodlelib/Stack/_scripts_moodlelib_php.html#functionget_string">get_string()</a> function.</p><p>Example usage of this function when the string is in the moodle.php file:<br /> <pre><code><pre><br />1 echo <span class="src-str">'<strong>'</span>;<br />2 <a href="../../moodlelib/Stack/_scripts_moodlelib_php.html#functionprint_string">print_string</a><span class="src-sym">(</span><span class="src-str">'wordforstudent'</span><span class="src-sym">)</span>;<br />3 echo <span class="src-str">'</strong>'</span>;</pre></code></pre></p><p>Example usage of this function when the string is not in the moodle.php file:<br /> <pre><code><pre><br />1 echo <span class="src-str">'<h1>'</span>;<br />2 <a href="../../moodlelib/Stack/_scripts_moodlelib_php.html#functionprint_string">print_string</a><span class="src-sym">(</span><span class="src-str">'typecourse'</span><span class="src-sym">,</span> <span class="src-str">'calendar'</span><span class="src-sym">)</span>;<br />3 echo <span class="src-str">'</h1>'</span>;</pre></code></pre></p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> print_string </span> (<span class="var-type">string</span> <span class="var-name">$identifier</span>, [<span class="var-type">string</span> <span class="var-name">$module</span> = <span class="var-default">''</span>], [<span class="var-type">mixed</span> <span class="var-name">$a</span> = <span class="var-default">NULL</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$identifier</span><span class="var-description">: The key identifier for the localized string</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$module</span><span class="var-description">: The module where the key identifier is stored. If none is specified then moodle.php is used.</span> </li> <li> <span class="var-type">mixed</span> <span class="var-name">$a</span><span class="var-description">: An object, string or number that can be used within translation strings</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:14 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
From: Chris S. <san...@us...> - 2005-07-14 18:53:56
|
Update of /cvsroot/stack/stack-1-0/api/scripts/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/scripts/Stack Added Files: _scripts_CASpool_startsocket_php.html _scripts_CASpool_stopsocket_php.html _scripts_stackAuthor_php.html _scripts_stackData_php.html _scripts_stackQuestion_php.html _scripts_stackQuiz_php.html _scripts_stackSocketSend_php.html _scripts_stackUser_php.html _scripts_stackUtility_php.html _scripts_stackXML_php.html Log Message: Updated API --- NEW FILE: _scripts_stackQuiz_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackQuiz.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/stackQuiz.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file contains most functions which deal with quizzes.</p> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_quiz_student_select" id="functionstack_quiz_student_select"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_quiz_student_select</span> (line <span class="line-number">37</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the student quiz selection screen</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_quiz_student_select </span> (<span class="var-type">mixed</span> <span class="var-name">$quiz_store</span>, <span class="var-type">$user</span> <span class="var-name">$user</span>, <span class="var-type">array</span> <span class="var-name">$quize_store</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quize_store</span><span class="var-description">: The list of quizzes</span> </li> <li> <span class="var-type">$user</span> <span class="var-name">$user</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:22 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_stackAuthor_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackAuthor.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/stackAuthor.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Functions which deal with authoring questions and quizzes. These only need to be loaded when an edit page needs to be generated.</p> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_options_edit_form" id="functionstack_options_edit_form"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_options_edit_form</span> (line <span class="line-number">72</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Build the form to edit a list of STACK options.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_options_edit_form </span> (<span class="var-type">array</span> <span class="var-name">$options_headings</span>, <span class="var-type">array</span> <span class="var-name">$options_list</span>, <span class="var-type">array</span> <span class="var-name">$options</span>, <span class="var-type">string</span> <span class="var-name">$fieldname</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$options_headings</span><span class="var-description">: The headings under which the options should be displayed</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$options_list</span><span class="var-description">: The list of options to display</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$options</span><span class="var-description">: Their current values</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$fieldname</span><span class="var-description">: The name of the field in the form</span> </li> </ul> </div> <a name="functionstack_question_edit_dispoptionfield" id="functionstack_question_edit_dispoptionfield"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_dispoptionfield</span> (line <span class="line-number">21</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Display the name of a option field, in a link generating a popup window.</p> <ul class="tags"> <li><span class="field">return:</span> The link to the popup window</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_question_edit_dispoptionfield </span> (<span class="var-type">string</span> <span class="var-name">$field</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$field</span><span class="var-description">: The field name</span> </li> </ul> </div> <a name="functionstack_question_edit_dispquestionfield" id="functionstack_question_edit_dispquestionfield"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_dispquestionfield</span> (line <span class="line-number">383</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Display the name of a questionField, in a link generating a popup window.</p> <ul class="tags"> <li><span class="field">return:</span> The link to the popup window</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_question_edit_dispquestionfield </span> (<span class="var-type">string</span> <span class="var-name">$field</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$field</span><span class="var-description">: The field name</span> </li> </ul> </div> <a name="functionstack_question_edit_form" id="functionstack_question_edit_form"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_form</span> (line <span class="line-number">116</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Build the form to edit a STACK question.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_question_edit_form </span> (<span class="var-type">array</span> <span class="var-name">$question</span>, <span class="var-type">array</span> <span class="var-name">&$errors</span>, [<span class="var-type">string</span> <span class="var-name">$PostTo</span> = <span class="var-default">''</span>]) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$question</span><span class="var-description">: The STACK question</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$errors</span><span class="var-description">: Repository for errors</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: Where to send the form</span> </li> </ul> </div> <a name="functionstack_question_edit_form_field" id="functionstack_question_edit_form_field"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_form_field</span> (line <span class="line-number">335</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Build a field of the STACK question edit form</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_question_edit_form_field </span> (<span class="var-type">string</span> <span class="var-name">$f</span>, <span class="var-type">string</span> <span class="var-name">$qf</span>, <span class="var-type">array</span> <span class="var-name">$errors</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$f</span><span class="var-description">: The field name</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$qf</span><span class="var-description">: The contents of the field</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$errors</span><span class="var-description">: Respository for errors</span> </li> </ul> </div> <a name="functionstack_question_edit_form_substance" id="functionstack_question_edit_form_substance"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_form_substance</span> (line <span class="line-number">143</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Build the substance of the form to edit a STACK question.</p> <p class="description"><p>This needs to be wrapped in a <form> </form> structure.</p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_question_edit_form_substance </span> (<span class="var-type">array</span> <span class="var-name">$question</span>, <span class="var-type">array</span> <span class="var-name">&$errors</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$question</span><span class="var-description">: The STACK question</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$errors</span><span class="var-description">: Repository for errors</span> </li> </ul> </div> <a name="functionstack_question_edit_input_stringfield" id="functionstack_question_edit_input_stringfield"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_input_stringfield</span> (line <span class="line-number">531</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generates a text input box.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_question_edit_input_stringfield </span> (<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">array</span> <span class="var-name">$arin</span>, <span class="var-type">string</span> <span class="var-name">$field</span>, <span class="var-type">int</span> <span class="var-name">$sz</span>, [<span class="var-type">int</span> <span class="var-name">$minsz</span> = <span class="var-default">0</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$name</span><span class="var-description">: The base name to be handed to the $_POST variable</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$arin</span><span class="var-description">: The array from which the value is taken</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$field</span><span class="var-description">: The field name</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$sz</span><span class="var-description">: The size of the text box. If this is negative, this will be subtracted from the length of the string already in the field.</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$minsz</span><span class="var-description">: The minimum size of a box, only used when a box is automatically sized using the above.</span> </li> </ul> </div> <a name="functionstack_question_edit_input_textfield" id="functionstack_question_edit_input_textfield"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_input_textfield</span> (line <span class="line-number">515</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generates a textfield block.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_question_edit_input_textfield </span> (<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">string</span> <span class="var-name">$strin</span>, <span class="var-type">string</span> <span class="var-name">$field</span>, <span class="var-type">int</span> <span class="var-name">$sz</span>, [<span class="var-type">int</span> <span class="var-name">$colspan</span> = <span class="var-default">'1'</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$name</span><span class="var-description">: The base name to be handed to the $_POST variable</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$strin</span><span class="var-description">: The string containing the value of the field</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$field</span><span class="var-description">: The field name</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$sz</span><span class="var-description">: The size of the text box</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$colspan</span><span class="var-description">: The number of columns the field spand</span> </li> </ul> </div> <a name="functionstack_question_edit_option_form" id="functionstack_question_edit_option_form"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_option_form</span> (line <span class="line-number">40</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generates the portion of the HTML question edit form for editing an option</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_question_edit_option_form </span> (<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">string</span> <span class="var-name">$opt</span>, <span class="var-type">mixed</span> <span class="var-name">$optval</span>, [<span class="var-type">int</span> <span class="var-name">$sz</span> = <span class="var-default">8</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$name</span><span class="var-description">: The name of the field in the form</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$opt</span><span class="var-description">: The option key</span> </li> <li> <span class="var-type">mixed</span> <span class="var-name">$optval</span><span class="var-description">: The currently set value</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$sz</span><span class="var-description">: The size of the answer boxes</span> </li> </ul> </div> <a name="functionstack_question_edit_potresp" id="functionstack_question_edit_potresp"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_potresp</span> (line <span class="line-number">401</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generate a line in a table to display and edit a potential resoponse.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_question_edit_potresp </span> (<span class="var-type">int</span> <span class="var-name">$key</span>, <span class="var-type">array</span> <span class="var-name">$potresp</span>, <span class="var-type">int</span> <span class="var-name">$npr</span>, <span class="var-type">array</span> <span class="var-name">&$errors</span>) </div> <ul class="parameters"> <li> <span class="var-type">int</span> <span class="var-name">$key</span><span class="var-description">: The array key of this potential response</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$potresp</span><span class="var-description">: The potential response itself</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$npr</span><span class="var-description">: The total number of PRs in the question</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$errors</span><span class="var-description">: Repository for errors</span> </li> </ul> </div> <a name="functionstack_question_edit_potresp_branch" id="functionstack_question_edit_potresp_branch"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_question_edit_potresp_branch</span> (line <span class="line-number">548</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generates a branch of a potential response processing tree.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_question_edit_potresp_branch </span> (<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">array</span> <span class="var-name">$branchvals</span>, <span class="var-type">int</span> <span class="var-name">$npr</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$name</span><span class="var-description">: The base name of the branch</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$branchvals</span><span class="var-description">: The values for this branch</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$npr</span><span class="var-description">: The total number of potential responses</span> </li> </ul> </div> <a name="functionstack_quiz_edit" id="functionstack_quiz_edit"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_quiz_edit</span> (line <span class="line-number">700</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Process the incoming $_POST['quiz'] fields.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_quiz_edit </span> (<span class="var-type">array</span> <span class="var-name">&$quiz</span>, <span class="var-type">array</span> <span class="var-name">&$errors</span>, <span class="var-type">string</span> <span class="var-name">$PostTo</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quiz</span><span class="var-description">: The STACK quiz</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$errors</span><span class="var-description">: Repository for errors</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: Where to send the form</span> </li> </ul> </div> <a name="functionstack_quiz_edit_form" id="functionstack_quiz_edit_form"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_quiz_edit_form</span> (line <span class="line-number">607</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Build the form to edit a STACK question.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_quiz_edit_form </span> (<span class="var-type">array</span> <span class="var-name">$quiz</span>, <span class="var-type">array</span> <span class="var-name">&$errors</span>, [<span class="var-type">string</span> <span class="var-name">$PostTo</span> = <span class="var-default">''</span>]) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quiz</span><span class="var-description">: The STACK quiz</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$errors</span><span class="var-description">: Repository for errors</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: Where to send the form</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:16 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_CASpool_startsocket_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page startsocket.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/CASpool/startsocket.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Starts the STACK socket to provide the connection between the web client and the CAS.</p> <ul class="tags"> <li><span class="field">see:</span> <a href="../../lib/Stack/StackSocket.html">StackSocket</a></li> </ul> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_$stack_logfiles_CASkeywords_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_logfiles.'CASkeywords.php'</span>) (line <span class="line-number">29</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/maxima/initmaxima_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">"{$stack_root}/scripts/maxima/initmaxima.php"</span>) (line <span class="line-number">26</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/CASpool/stackSocket_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/CASpool/stackSocket.php"</span>) (line <span class="line-number">21</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/stackSocketSend_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/stackSocketSend.php"</span>) (line <span class="line-number">23</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_stackstd_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require</span> (<span class="include-name">"stackstd.php"</span>) (line <span class="line-number">17</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">MOVE this file, out of the view of the web server and edit the line below to give a direct path.</p> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:26 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_stackData_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackData.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/stackData.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file is no longer needed.</p> <p class="description"><p>It will be deleted in the next release, but cannot now without Current installs changing stackstd.php</p></p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:18 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_stackUtility_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackUtility.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/stackUtility.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Important utility functions for dealing with strings and stack data structures in PHP.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <a name="_{$stack_root}/frontend_general/frontend_util_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/frontend_general/frontend_util.php"</span>) (line <span class="line-number">23</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/stackUser_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/scripts/stackUser.php"</span>) (line <span class="line-number">22</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/stackQuiz_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/scripts/stackQuiz.php"</span>) (line <span class="line-number">21</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/moodlelib_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/scripts/moodlelib.php"</span>) (line <span class="line-number">19</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">TO DO: these should go in stackstd.php. They are in stackstd.php.dist</p> </div> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-includes">Includes</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functiongetmicrotime" id="functiongetmicrotime"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">getmicrotime</span> (line <span class="line-number">87</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Formats the results of the PHP microtime() function to four decimal places. Used to calculate page processing time.</p> <div class="method-signature"> <span class="method-result">float</span> <span class="method-name"> getmicrotime </span> () </div> </div> <a name="functionkeyval_rawkeyval" id="functionkeyval_rawkeyval"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">keyval_rawkeyval</span> (line <span class="line-number">289</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Take an array of locals, and return it to the a string form.</p> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> keyval_rawkeyval </span> (<span class="var-type">array</span> <span class="var-name">$locs</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$locs</span> </li> </ul> </div> <a name="functionnsf" id="functionnsf"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">nsf</span> (line <span class="line-number">72</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Check for the field $field, in the array $arr Don't apply sf()!</p> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> nsf </span> (<span class="var-type">array</span> <span class="var-name">$arr</span>, <span class="var-type">mixed</span> <span class="var-name">$field</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$arr</span><span class="var-description">: The input array.</span> </li> </ul> </div> <a name="functionrawkeyval_keyval" id="functionrawkeyval_keyval"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">rawkeyval_keyval</span> (line <span class="line-number">238</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Takes a string of rawkeyval and returns a parsed array. Used for form input and output</p> <ul class="tags"> <li><span class="field">return:</span> The parsed array</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> rawkeyval_keyval </span> (<span class="var-type">string</span> <span class="var-name">&$strin</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">&$strin</span><span class="var-description">: The string to parse</span> </li> </ul> </div> <a name="functionsf" id="functionsf"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">sf</span> (line <span class="line-number">56</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Check for, then apply stack_s() to the field $field, in the array $arr</p> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> sf </span> (<span class="var-type">array</span> <span class="var-name">$arr</span>, <span class="var-type">mixed</span> <span class="var-name">$field</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$arr</span><span class="var-description">: The input array.</span> </li> </ul> </div> <a name="functionshow_array" id="functionshow_array"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">show_array</span> (line <span class="line-number">33</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the contents of an array for HTML display.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> show_array </span> (<span class="var-type">array</span> <span class="var-name">$instr</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$instr</span><span class="var-description">: The array to display.</span> </li> </ul> </div> <a name="functionstack_casstring_to_display" id="functionstack_casstring_to_display"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_casstring_to_display</span> (line <span class="line-number">520</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Formats a casstring for the supplied display method.</p> <p class="description"><p>Display methods supported: <ul><li>LaTeX</li><li>LaTeX Source (code used to generate LaTeX display</li><li>MathML</li><li>All other formats displayed as plain text strings</li></ul></p></p> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_casstring_to_display </span> (<span class="var-type">string</span> <span class="var-name">$varin</span>, <span class="var-type">string</span> <span class="var-name">$display</span>, [<span class="var-type">string</span> <span class="var-name">$wrap</span> = <span class="var-default">'#NONE#'</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$varin</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$display</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$wrap</span><span class="var-description">: The characters required to enclose the display (e.g. $$ for LaTeX). Set to #NONE# by default.</span> </li> </ul> </div> <a name="functionstack_castext_inst" id="functionstack_castext_inst"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_castext_inst</span> (line <span class="line-number">647</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays a block of castext after all variables have been instantiated by the CAS.</p> <ul class="tags"> <li><span class="field">return:</span> The display string</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_castext_inst </span> (<span class="var-type">string</span> <span class="var-name">$castext</span>, <span class="var-type">array</span> <span class="var-name">$locals</span>, <span class="var-type">array</span> <span class="var-name">$options</span>, <span class="var-type">array</span> <span class="var-name">&$err</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$castext</span><span class="var-description">: The castext input</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$locals</span><span class="var-description">: Local variables from the question</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$options</span><span class="var-description">: Stack options set</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$err</span><span class="var-description">: Repository for errors</span> </li> </ul> </div> <a name="functionstack_castext_to_display" id="functionstack_castext_to_display"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_castext_to_display</span> (line <span class="line-number">729</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Formats a castext block for the supplied display method.</p> <p class="description"><p>Display methods supported: <ul><li>LaTeX</li><li>LaTeX Source (code used to generate LaTeX display</li><li>MathML</li><li>All other formats displayed as plain text strings</li></ul></p></p> <ul class="tags"> <li><span class="field">return:</span> The xhtml display string</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_castext_to_display </span> (<span class="var-type">string</span> <span class="var-name">$strin</span>, <span class="var-type">array</span> <span class="var-name">&$locals</span>, <span class="var-type">string</span> <span class="var-name">$display</span>, <span class="var-type">mixed</span> <span class="var-name">&$errs</span>, <span class="var-type">array</span> <span class="var-name">&$errr</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$strin</span><span class="var-description">: LaTeX castext in which all implicit locals have been substitued for dummy strings.</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$locals</span><span class="var-description">: Instantiated local variables</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$display</span><span class="var-description">: Display method to use (see above)</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$errr</span><span class="var-description">: String for any errors.</span> </li> </ul> </div> <a name="functionstack_check_for_error" id="functionstack_check_for_error"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_check_for_error</span> (line <span class="line-number">102</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Checks for the presence of a $field kind of error in $error</p> <div class="method-signature"> <span class="method-result">boolean</span> <span class="method-name"> stack_check_for_error </span> (<span class="var-type">string</span> <span class="var-name">$field</span>, <span class="var-type">array</span> <span class="var-name">$error</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$field</span><span class="var-description">: The field name of the error to be checked for.</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$error</span><span class="var-description">: The array containing any errors.</span> </li> </ul> </div> <a name="functionstack_generate_guid" id="functionstack_generate_guid"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_generate_guid</span> (line <span class="line-number">994</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generate a GUID from</p> <p class="description"><p>(1) the time, including microseconds, (2) the PID of the process, and (3) a server based prefix string. eg $stack_web_url This is all hashed into a 32-character hexadecimal character with md5()</p></p> <ul class="tags"> <li><span class="field">return:</span> The GUID, returned as a CHAR(32)</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_generate_guid </span> (<span class="var-type">string</span> <span class="var-name">$prefix</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$prefix</span><span class="var-description">: a server based prefix string.</span> </li> </ul> </div> <a name="functionstack_lang_filename" id="functionstack_lang_filename"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_lang_filename</span> (line <span class="line-number">182</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Create the a filename, given the current options.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_lang_filename </span> (<span class="var-type">mixed</span> <span class="var-name">$options</span>, <span class="var-type">mixed</span> <span class="var-name">$fn</span>) </div> </div> <a name="functionstack_mail_error" id="functionstack_mail_error"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_mail_error</span> (line <span class="line-number">1009</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Sends a warning in the mail of an event which should not have occured.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_mail_error </span> (<span class="var-type">string</span> <span class="var-name">$errmsgsub</span>, <span class="var-type">string</span> <span class="var-name">$errmsg</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$errmsgsub</span><span class="var-description">: The subject of the error message.</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$errmsg</span><span class="var-description">: The error message to be sent.</span> </li> </ul> </div> <a name="functionstack_microtime_float" id="functionstack_microtime_float"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_microtime_float</span> (line <span class="line-number">926</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generates a time as a float.</p> <div class="method-signature"> <span class="method-result">float</span> <span class="method-name"> stack_microtime_float </span> () </div> </div> <a name="functionstack_page_footer" id="functionstack_page_footer"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_page_footer</span> (line <span class="line-number">969</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generate an HTML page footer if $stack_stand_alone is true.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_page_footer </span> () </div> </div> <a name="functionstack_page_header" id="functionstack_page_header"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_page_header</span> (line <span class="line-number">941</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generate an HTML page header if $stack_stand_alone is true.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_page_header </span> (<span class="var-type">string</span> <span class="var-name">$title</span>, <span class="var-type">string</span> <span class="var-name">$optdisp</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$title</span><span class="var-description">: The value to use for the title.</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$optdisp</span><span class="var-description">: The display option</span> </li> </ul> </div> <a name="functionstack_reorder" id="functionstack_reorder"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_reorder</span> (line <span class="line-number">853</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Re-order an array, based on the values in the field 'order'</p> <ul class="tags"> <li><span class="field">return:</span> Contains any errors</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_reorder </span> (<span class="var-type">array</span> <span class="var-name">&$arin</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">&$arin</span><span class="var-description">: The unordered array</span> </li> </ul> </div> <a name="functionstack_reorder_subfun" id="functionstack_reorder_subfun"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_reorder_subfun</span> (line <span class="line-number">910</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Calculates the difference between the order values of two arrays.</p> <ul class="tags"> <li><span class="field">return:</span> The difference between the order values of the two arrays.</li> </ul> <div class="method-signature"> <span class="method-result">float</span> <span class="method-name"> stack_reorder_subfun </span> (<span class="var-type">array</span> <span class="var-name">$a</span>, <span class="var-type">array</span> <span class="var-name">$b</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$a</span><span class="var-description">: The first array. Must contain a field ['order'].</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$b</span><span class="var-description">: The second array. Must contain a field ['order'].</span> </li> </ul> </div> <a name="functionstack_s" id="functionstack_s"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_s</span> (line <span class="line-number">43</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Synonym for the PHP function htmlspecialchars. See the Moodle function s(.)</p> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_s </span> (<span class="var-type">string</span> <span class="var-name">$str</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$str</span><span class="var-description">: The input string.</span> </li> </ul> </div> <a name="functionstack_trans" id="functionstack_trans"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_trans</span> (line <span class="line-number">208</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Translates a string taken as output from Maxima.</p> <p class="description"><p>This function takes a variable number of arguments, the first of which is assumed to be the identifier of the string to be translated.</p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_trans </span> () </div> </div> <a name="functionstack_util_grabbetween" id="functionstack_util_grabbetween"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_util_grabbetween</span> (line <span class="line-number">120</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the string between two specified characters.</p> <ul class="tags"> <li><span class="field">return:</span> Field [0] contains the string between the two characters, Field [1] contains the start position of -1 if it does not exist and Field [2] contains the end position of -1 if there was no match.</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_util_grabbetween </span> (<span class="var-type">mixed</span> <span class="var-name">$strin</span>, <span class="var-type">char</span> <span class="var-name">$leftc</span>, <span class="var-type">char</span> <span class="var-name">$rightc</span>, <span class="var-type">int</span> <span class="var-name">$start</span>) </div> <ul class="parameters"> <li> <span class="var-type">int</span> <span class="var-name">$start</span><span class="var-description">: The position of the string to start searching at.</span> </li> <li> <span class="var-type">char</span> <span class="var-name">$leftc</span><span class="var-description">: Finds the first occurence of this character</span> </li> <li> <span class="var-type">char</span> <span class="var-name">$rightc</span><span class="var-description">: Finds the first occurence of this character after $leftc</span> </li> </ul> </div> <a name="functionstring_to_locvars" id="functionstring_to_locvars"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">string_to_locvars</span> (line <span class="line-number">610</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Takes a castext string, and takes out all the implicit locals variables.</p> <ul class="tags"> <li><span class="field">return:</span> Field [0] contains the string with implicit local replacements, and field [1] contains the array of implicit locals.</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> string_to_locvars </span> (<span class="var-type">string</span> <span class="var-name">$strin</span>, <span class="var-type">string</span> <span class="var-name">$vn</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$strin</span><span class="var-description">: The string input.</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$vn</span><span class="var-description">: The variable name to append to each local variable</span> </li> </ul> </div> <a name="functionvalidate_casstring" id="functionvalidate_casstring"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">validate_casstring</span> (line <span class="line-number">325</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Validates a string containing CAS functions before sending it to the CAS. A casstring is identified by text between @ and @ signs.</p> <p class="description"><p>NOTE: THIS IS A SYSTEM CRITICAL FUNCTION, WHICH IS PIVOTAL IN SYSTEM SECURITY.</p><p>This function checks for the following types of validation errors: <ol><li>Check if any forbidden keywords occur in the string.</li><li>We should only allow certain strings in student's answers. These are kept in $stack_cas['studentAllow']</li><li>Check that brackets match</li><li>Use regular expression matches to try to spot syntax errors before they get sent to the CAS.</li><li>Check for missing *'s</li></ol> This function may change the $strin, depending on the $options.</p></p> <ul class="tags"> <li><span class="field">return:</span> Contains any errors found (null if none).</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> validate_casstring </span> (<span class="var-type">string</span> <span class="var-name">&$strin</span>, [<span class="var-type">char</span> <span class="var-name">$seclevel</span> = <span class="var-default">'s'</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">&$strin</span><span class="var-description">: The string to validate, which may be changed by the function, depending on the $options.</span> </li> <li> <span class="var-type">char</span> <span class="var-name">$seclevel</span><span class="var-description">: The security level, 's' (default) indicates a student, and 't' a teacher. Students are only permitted to enter certain strings, teachers are trusted more.</span> </li> </ul> </div> <a name="functionvalidate_castext" id="functionvalidate_castext"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">validate_castext</span> (line <span class="line-number">565</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Used to validate a string which may contain multiple casstrings.</p> <ul class="tags"> <li><span class="field">return:</span> Contains details of errors generated.</li> <li><span class="field">see:</span> <a href="../../scripts/Stack/_scripts_stackUtility_php.html#functionvalidate_casstring">validate_casstring()</a></li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> validate_castext </span> (<span class="var-type">string</span> <span class="var-name">$strin</span>, [<span class="var-type">char</span> <span class="var-name">$seclevel</span> = <span class="var-default">'s'</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$strin</span><span class="var-description">: The castext block</span> </li> <li> <span class="var-type">char</span> <span class="var-name">$seclevel</span><span class="var-description">: Security Level (student or teacher). Default value is 's' for student.</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:24 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_stackXML_php.html --- <?xm... [truncated message content] |
From: Chris S. <san...@us...> - 2005-07-14 18:53:55
|
Update of /cvsroot/stack/stack-1-0/api/media In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/media Added Files: banner.css stylesheet.css Log Message: Updated API --- NEW FILE: stylesheet.css --- a { color: #000090; text-decoration: none; } a:hover, a:active, a:focus { color: highlighttext; background-color: highlight; text-decoration: none; } body { background: #FFFFFF; } body, table { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; } a img { border: 0px; } /* Page layout/boxes */ .info-box { } .info-box-title { margin: 1em 0em 0em 0em; font-weight: normal; font-size: 14pt; color: #999999; border-bottom: 2px solid #999999; } .info-box-body { border: 1px solid #999999; padding: .5em; } .nav-bar { font-size: 8pt; white-space: nowrap; text-align: right; padding: .2em; margin: 0em 0em 1em 0em; } .oddrow { background-color: #F8F8F8; border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em} .evenrow { border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em} .page-body { max-width: 800px; margin: auto; } .tree { white-space: nowrap; font: icon } .tree dd { margin-left: 19px } .tree dl { margin: 0px } .tree-icon { vertical-align: middle; border: 0px; margin-right: 3px } /* Index formatting classes */ .index-item-body { margin-top: .5em; margin-bottom: .5em} .index-item-description { margin-top: .25em } .index-item-details { font-weight: normal; font-style: italic; font-size: 8pt } .index-letter-section { background-color: #EEEEEE; border: 1px dotted #999999; padding: .5em; margin-bottom: 1em} .index-letter-title { font-size: 12pt; font-weight: bold } .index-letter-menu { text-align: center; margin: 1em } .index-letter { font-size: 12pt } /* Docbook classes */ .description {} .short-description { font-weight: bold; color: #666666; } .tags { padding-left: 0em; margin-left: 3em; color: #666666; list-style-type: square; } .parameters { padding-left: 0em; margin-left: 3em; color: #014fbe; list-style-type: square; } .redefinitions { font-size: 8pt; padding-left: 0em; margin-left: 2em; } .package { font-weight: bold; } .package-title { font-weight: bold; font-size: 14pt; border-bottom: 1px solid black } .package-details { font-size: 85%; } .sub-package { font-weight: bold; } .tutorial { border-width: thin; border-color: #0066ff; } .tutorial-nav-box { width: 100%; border: 1px solid #999999; background-color: #F8F8F8; } .folder-title { font-style: italic; font-family: Verdana, Arial, Helvetica, sans-serif } /* Generic formatting */ .field { font-weight: bold; } .detail { font-size: 8pt; } .notes { font-style: italic; font-size: 8pt; } .separator { background-color: #999999; height: 2px; } .warning { color: #FF6600; } .disabled { font-style: italic; color: #999999; } /* Code elements */ .line-number { } .class-table { width: 100%; } .class-table-header { border-bottom: 1px dotted #666666; text-align: left} .class-name { color: #0000AA; font-weight: bold; } .method-summary { color: #009000; padding-left: 1em; font-size: 8pt; } .method-header { } .method-definition { margin-bottom: .2em } .method-title { color: #009000; font-weight: bold; } .method-name { font-weight: bold; } .method-signature { font-size: 85%; color: #666666; margin: .5em 0em } .method-result { font-style: italic; } .var-summary { padding-left: 1em; font-size: 8pt; } .var-header { } .var-title { color: #014fbe; margin-bottom: .3em } .var-type { font-style: italic; } .var-name { font-weight: bold; } .var-default {} .var-description { font-weight: normal; color: #000000; } .include-title { color: #014fbe;} .include-type { font-style: italic; } .include-name { font-weight: bold; } .const-title { color: #FF6600; } .const-name { font-weight: bold; } /* Syntax highlighting */ .src-code { } .src-code a:link { padding: 1px; text-decoration: underline; color: #0000DD; } .src-code a:visited { text-decoration: underline; color: #0000DD; } .src-code a:active { background-color: #FFFF66; color: #008000; } .src-code a:hover { background-color: #FFFF66; text-decoration: overline underline; color: #008000; } .src-comm { color: #666666; } .src-id { color: #FF6600; font-style: italic; } .src-inc { color: #0000AA; font-weight: bold; } .src-key { color: #0000AA; font-weight: bold; } .src-num { color: #CC0000; } .src-str { color: #CC0000; } .src-sym { } .src-var { } .src-php { font-weight: bold; } .src-doc { color: #666666; } .src-doc-close-template { color: #666666 } .src-doc-coretag { color: #008000; } .src-doc-inlinetag {} .src-doc-internal {} .src-doc-tag { color: #0080CC; } .src-doc-template { color: #666666 } .src-doc-type { font-style: italic; color: #444444 } .src-doc-var { color: #444444 } /* tutorial */ .authors { } .author { font-style: italic; font-weight: bold } .author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal } .example { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em } .listing { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; white-space: nowrap } .release-info { font-size: 85%; font-style: italic; margin: 1em 0em } .ref-title-box { } .ref-title { } .ref-purpose { font-style: italic; color: #666666 } .ref-synopsis { } .title { font-weight: bold; border-bottom: 1px solid #999999; color: #999999; } .cmd-synopsis { margin: 1em 0em } .cmd-title { font-weight: bold } .toc { margin-left: 2em; padding-left: 0em } --- NEW FILE: banner.css --- body { background-color: #EEEEEE; margin: 0px; padding: 0px; } /* Banner (top bar) classes */ .banner { } .banner-menu { text-align: right; clear: both; padding: .5em; border-top: 2px solid #AAAAAA; } .banner-title { text-align: right; font-size: 20pt; font-weight: bold; margin: .2em; } .package-selector { background-color: #DDDDDD; border: 1px solid #AAAAAA; color: #000090; } |
Update of /cvsroot/stack/stack-1-0/api/media/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/media/images Added Files: AbstractClass.png AbstractClass_logo.png AbstractMethod.png AbstractPrivateClass.png AbstractPrivateClass_logo.png AbstractPrivateMethod.png Class.png Constant.png Constructor.png Destructor.png Function.png Global.png I.png Index.png L.png Lminus.png Lplus.png Method.png Page.png Page_logo.png PrivateClass.png PrivateClass_logo.png PrivateMethod.png PrivateVariable.png T.png Tminus.png Tplus.png Variable.png blank.png class_folder.png class_logo.png empty.png file.png folder.png function_folder.png next_button.png next_button_disabled.png package.png package_folder.png previous_button.png previous_button_disabled.png private_class_logo.png tutorial.png tutorial_folder.png up_button.png Log Message: Updated API --- NEW FILE: Tminus.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: next_button_disabled.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PrivateVariable.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: function_folder.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Lplus.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AbstractClass_logo.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: T.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: package_folder.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AbstractClass.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tutorial_folder.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: up_button.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Constructor.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Method.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: class_logo.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: L.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: I.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: blank.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tutorial.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: previous_button.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Global.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Function.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Class.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Lminus.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Page_logo.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: package.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: next_button.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: class_folder.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AbstractPrivateMethod.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PrivateClass.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AbstractPrivateClass.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AbstractMethod.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Constant.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Index.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Destructor.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: file.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PrivateClass_logo.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: private_class_logo.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Page.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AbstractPrivateClass_logo.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PrivateMethod.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Tplus.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Variable.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: previous_button_disabled.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: empty.png --- (This appears to be a binary file; contents omitted.) |
From: Chris S. <san...@us...> - 2005-07-14 18:53:55
|
Update of /cvsroot/stack/stack-1-0/api/quiz/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/quiz/Stack Added Files: _frontend_general_edit_quiz_util_php.html _frontend_general_editquiz_display_php.html Log Message: Updated API --- NEW FILE: _frontend_general_edit_quiz_util_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page edit_quiz_util.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/frontend_general/edit_quiz_util.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_get_qb_filter" id="functionstack_get_qb_filter"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_qb_filter</span> (line <span class="line-number">27</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the question bank filter</p> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_qb_filter </span> (<span class="var-type">string</span> <span class="var-name">$source</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$source</span><span class="var-description">: - Must be 'post' or 'session'</span> </li> </ul> </div> <a name="functionstack_get_quiz" id="functionstack_get_quiz"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_quiz</span> (line <span class="line-number">54</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the quiz</p> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_quiz </span> (<span class="var-type">string</span> <span class="var-name">$source</span>, <span class="var-type">int</span> <span class="var-name">$quizid</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$source</span><span class="var-description">: - Must be 'post' or 'database'</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$quizid</span><span class="var-description">: This is only set if the $source is 'database', is set to the quiz id</span> </li> </ul> </div> <a name="functionstack_get_quizid" id="functionstack_get_quizid"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_quizid</span> (line <span class="line-number">70</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the quiz id</p> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_quizid </span> (<span class="var-type">string</span> <span class="var-name">$source</span>, <span class="var-type">int</span> <span class="var-name">$quiz</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$source</span><span class="var-description">: - Must be 'post', 'database' or 'quiz'</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$quiz</span><span class="var-description">: This is only set if the $source is 'quiz', is set to the quiz to get the quiz id from</span> </li> </ul> </div> <a name="functionstack_set_qb_filter_in_session" id="functionstack_set_qb_filter_in_session"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_set_qb_filter_in_session</span> (line <span class="line-number">41</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Sets the session question bank field</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_set_qb_filter_in_session </span> (<span class="var-type">array</span> <span class="var-name">$question_bank_filter</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$question_bank_filter</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:12 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _frontend_general_editquiz_display_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page editquiz_display.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/frontend_general/editquiz_display.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p><p>This file contains display functions used by edit_quiz.php</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_display_editquiz_edit" id="functionstack_display_editquiz_edit"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_edit</span> (line <span class="line-number">84</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the page for editting a quiz</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_edit </span> (<span class="var-type">array</span> <span class="var-name">$quiz</span>, <span class="var-type">array</span> <span class="var-name">$errors</span>, <span class="var-type">string</span> <span class="var-name">$PostTo</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quiz</span><span class="var-description">: The quiz to edit</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$errors</span><span class="var-description">: The errors string</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: The page that the info from the form should be posted to</span> </li> </ul> </div> <a name="functionstack_display_editquiz_error" id="functionstack_display_editquiz_error"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_error</span> (line <span class="line-number">96</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays any quiz editting erros</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_error </span> (<span class="var-type">array</span> <span class="var-name">$errors</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$errors</span><span class="var-description">: The errors string</span> </li> </ul> </div> <a name="functionstack_display_editquiz_error_not_admin" id="functionstack_display_editquiz_error_not_admin"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_error_not_admin</span> (line <span class="line-number">106</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays a message saying that the user is not the admin so cannot edit quizzes</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_error_not_admin </span> (<span class="var-type">array</span> <span class="var-name">$user</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$user</span><span class="var-description">: The user</span> </li> </ul> </div> <a name="functionstack_display_editquiz_no_quizzes" id="functionstack_display_editquiz_no_quizzes"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_no_quizzes</span> (line <span class="line-number">70</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays a message saying that are no quizzes to edit</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_no_quizzes </span> (<span class="var-type">string</span> <span class="var-name">$PostTo</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: The page that the info from the form should be posted to</span> </li> </ul> </div> <a name="functionstack_display_editquiz_select" id="functionstack_display_editquiz_select"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_select</span> (line <span class="line-number">30</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the list of quizzes for the admin to edit</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_select </span> (<span class="var-type">mixed</span> <span class="var-name">$quiz_store</span>, <span class="var-type">string</span> <span class="var-name">$PostTo</span>, <span class="var-type">array</span> <span class="var-name">$quizstore</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quizstore</span><span class="var-description">: The store of quizzes</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: The page that the info from the form should be posted to</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:12 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
From: Chris S. <san...@us...> - 2005-07-14 18:53:48
|
Update of /cvsroot/stack/stack-1-0/api/stackwin/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/stackwin/Stack Added Files: _scripts_stackWin_php.html Log Message: Updated API --- NEW FILE: _scripts_stackWin_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackWin.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/stackWin.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Functions in this file implement a Windows **demonstration** version of the stack server. This is not secure, is not distributed with the main stack code.</p> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionCPProcessAnsTest" id="functionCPProcessAnsTest"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">CPProcessAnsTest</span> (line <span class="line-number">288</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Directly perform an answer test</p> <ul class="tags"> <li><span class="field">return:</span> An array structure, which is used to build the student's attempt.</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> CPProcessAnsTest </span> (<span class="var-type">string</span> <span class="var-name">$exp1</span>, <span class="var-type">string</span> <span class="var-name">$exp2</span>, <span class="var-type">string</span> <span class="var-name">$test</span>, <span class="var-type">mixed</span> <span class="var-name">$disp</span>, <span class="var-type">mixed</span> <span class="var-name">&$err</span>, <span class="var-type">array</span> <span class="var-name">$options</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$exp1</span><span class="var-description">: A CAS expression, nominally the student's</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$exp2</span><span class="var-description">: A CAS expression, nominally the teachers's</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$test</span><span class="var-description">: Which AnswerTest to apply.</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$options</span><span class="var-description">: The only option needed is the Display, but other answer tests may in the future require their own options.</span> </li> </ul> </div> <a name="functionCPProcessVars" id="functionCPProcessVars"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">CPProcessVars</span> (line <span class="line-number">192</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Instantiate a list of local variables.</p> <p class="description"><p>Possible errors: <ul><li>VARS-UNPACK : request array was empty</li><li>VARS-CODEINST : error instantiating CAS-specific code</li><li>VARS-TIMESTAMP : output from CAS did not match with input</li><li>VARS-PARSE : output from CAS could not be parsed, any variables that could not be instantiated are restored to un-CASed value in $crReturn</li></ul></p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains the instantiated values</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPProcessVars </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$varRequest</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$varRequest</span><span class="var-description">: $crData contains the list of local variables</span> </li> </ul> </div> <a name="functionstack_latex_to_html" id="functionstack_latex_to_html"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_latex_to_html</span> (line <span class="line-number">21</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Use an external program to convert a LaTeX string to HTML</p> <p class="description"><p>The counterpart of the function stack_latex_to_html</p></p> <ul class="tags"> <li><span class="field">return:</span> The converted HTML string or FALSE if there was an error.</li> <li><span class="field">see:</span> <a href="../../stackwin/Stack/_scripts_stackWin_php.html#functionstack_latex_to_html">stack_latex_to_html()</a></li> </ul> <div class="method-signature"> <span class="method-result">string|boolean</span> <span class="method-name"> stack_latex_to_html </span> (<span class="var-type">mixed</span> <span class="var-name">$strin</span>, <span class="var-type">string</span> <span class="var-name">$tex_string</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$tex_string</span><span class="var-description">: The LaTeX string</span> </li> </ul> </div> <a name="functionstack_maxima_rawsend" id="functionstack_maxima_rawsend"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_maxima_rawsend</span> (line <span class="line-number">79</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Connect directly to the CAS, and return the raw string result.</p> <p class="description"><p>This does not use sockets, but calls a new CAS session each time. Hence, this is not likely to be efficient. Furthermore, since the system gives the webserver execute priviliges to this is insecure.</p></p> <ul class="tags"> <li><span class="field">return:</span> The converted HTML string or FALSE if there was an error.</li> </ul> <div class="method-signature"> <span class="method-result">string|boolean</span> <span class="method-name"> stack_maxima_rawsend </span> (<span class="var-type">string</span> <span class="var-name">$strin</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$strin</span><span class="var-description">: The string of CAS commands to be processed.</span> </li> </ul> </div> <a name="functionstack_process_vars" id="functionstack_process_vars"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_process_vars</span> (line <span class="line-number">156</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Instantiate a list of local variables through the CAS.</p> <p class="description"><p>This function performs the following tasks: <ol><li>Checks each local for a PHP error</li><li>If no errors, sends them to the CAS</li><li>Checks for CAS errors</li></ol></p></p> <ul class="tags"> <li><span class="field">return:</span> List of instantiated local variables.</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_process_vars </span> (<span class="var-type">array</span> <span class="var-name">$locals</span>, <span class="var-type">int</span> <span class="var-name">$seed</span>, <span class="var-type">array</span> <span class="var-name">$options</span>, <span class="var-type">array</span> <span class="var-name">&$err</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$locals</span><span class="var-description">: List of local variables to instantiate.</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$seed</span><span class="var-description">: The random number seed to use</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$options</span><span class="var-description">: STACK options</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$err</span><span class="var-description">: Repository for errors.</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:25 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
From: Chris S. <san...@us...> - 2005-07-14 18:53:48
|
Update of /cvsroot/stack/stack-1-0/api/stackunix/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/stackunix/Stack Added Files: _scripts_stackUnix_php.html Log Message: Updated API --- NEW FILE: _scripts_stackUnix_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackUnix.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/stackUnix.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Functions in this file implement a Linux direct connection to the CAS process. This does not use sockets or the CASPool.</p> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionCPProcessAnsTest" id="functionCPProcessAnsTest"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">CPProcessAnsTest</span> (line <span class="line-number">259</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Directly perform an answer test</p> <ul class="tags"> <li><span class="field">return:</span> An array structure, which is used to build the student's attempt.</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> CPProcessAnsTest </span> (<span class="var-type">string</span> <span class="var-name">$exp1</span>, <span class="var-type">string</span> <span class="var-name">$exp2</span>, <span class="var-type">string</span> <span class="var-name">$test</span>, <span class="var-type">mixed</span> <span class="var-name">$disp</span>, <span class="var-type">mixed</span> <span class="var-name">&$err</span>, <span class="var-type">array</span> <span class="var-name">$options</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$exp1</span><span class="var-description">: A CAS expression, nominally the student's</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$exp2</span><span class="var-description">: A CAS expression, nominally the teachers's</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$test</span><span class="var-description">: Which AnswerTest to apply.</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$options</span><span class="var-description">: The only option needed is the Display, but other answer tests may in the future require their own options.</span> </li> </ul> </div> <a name="functionstack_latex_to_html" id="functionstack_latex_to_html"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_latex_to_html</span> (line <span class="line-number">21</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Use an external program to convert a LaTeX string to HTML</p> <p class="description"><p>The counterpart of the function stack_latex_to_html</p></p> <ul class="tags"> <li><span class="field">return:</span> The converted HTML string or FALSE if there was an error.</li> <li><span class="field">see:</span> <a href="../../stackunix/Stack/_scripts_stackUnix_php.html#functionstack_latex_to_html">stack_latex_to_html()</a></li> </ul> <div class="method-signature"> <span class="method-result">string|boolean</span> <span class="method-name"> stack_latex_to_html </span> (<span class="var-type">mixed</span> <span class="var-name">$strin</span>, <span class="var-type">string</span> <span class="var-name">$tex_string</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$tex_string</span><span class="var-description">: The LaTeX string</span> </li> </ul> </div> <a name="functionstack_maxima_rawsend" id="functionstack_maxima_rawsend"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_maxima_rawsend</span> (line <span class="line-number">80</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Connect directly to the CAS, and return the raw string result.</p> <p class="description"><p>This does not use sockets, but calls a new CAS session each time. Hence, this is not likely to be efficient. Furthermore, since the system gives the webserver execute priviliges to this is insecure.</p></p> <ul class="tags"> <li><span class="field">return:</span> The converted HTML string or FALSE if there was an error.</li> </ul> <div class="method-signature"> <span class="method-result">string|boolean</span> <span class="method-name"> stack_maxima_rawsend </span> (<span class="var-type">string</span> <span class="var-name">$strin</span>, <span class="var-type">mixed</span> <span class="var-name">&$err</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$strin</span><span class="var-description">: The string of CAS commands to be processed.</span> </li> </ul> </div> <a name="functionstack_process_vars" id="functionstack_process_vars"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_process_vars</span> (line <span class="line-number">171</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Instantiate a list of local variables through the CAS.</p> <p class="description"><p>This function performs the following tasks: <ol><li>Checks each local for a PHP error</li><li>If no errors, sends them to the CAS</li><li>Checks for CAS errors</li></ol></p></p> <ul class="tags"> <li><span class="field">return:</span> List of instantiated local variables.</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_process_vars </span> (<span class="var-type">array</span> <span class="var-name">$locals</span>, <span class="var-type">int</span> <span class="var-name">$seed</span>, <span class="var-type">array</span> <span class="var-name">$options</span>, <span class="var-type">array</span> <span class="var-name">&$err</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$locals</span><span class="var-description">: List of local variables to instantiate.</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$seed</span><span class="var-description">: The random number seed to use</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$options</span><span class="var-description">: STACK options</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$err</span><span class="var-description">: Repository for errors.</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:24 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
Update of /cvsroot/stack/stack-1-0/api/maxima/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/maxima/Stack Added Files: _scripts_maxima_genmaximadata_php.html _scripts_maxima_initmaxima_php.html _scripts_maxima_maximafun_php.html _scripts_maxima_stackfun_php.html Log Message: Updated API --- NEW FILE: _scripts_maxima_maximafun_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page maximafun.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/maxima/maximafun.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">A list of MAXIMA commands which are permitted in STACK This file is generated dynamically from the Maxima docs, and marked up.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:14 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_maxima_initmaxima_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page initmaxima.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/maxima/initmaxima.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file creates a number of other files dynamically <ul><li>(1) Write maximalocal.php</li><li>(2) Construct arrays of commands which are allowed in STACK.</li></ul></p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_{$stack_root}/scripts/maxima/maximafun_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">"{$stack_root}/scripts/maxima/maximafun.php"</span>) (line <span class="line-number">48</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/maxima/stackfun_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">"{$stack_root}/scripts/maxima/stackfun.php"</span>) (line <span class="line-number">49</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:14 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_maxima_genmaximadata_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page genmaximadata.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/maxima/genmaximadata.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Creates a list of MAXIMA commands from a string copied</p> <p class="description"><p>from Maxima's documentation. This file is not really used by anyone except the developers who need to create links to Maxima's docs from STACK. This only happens with a new version of Maxima is released.</p></p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:13 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_maxima_stackfun_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackfun.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/maxima/stackfun.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">A list of MAXIMA commands which are defined as part of STACK This file is used to permit these commands as part of CAS keywords.php</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:20 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
From: Chris S. <san...@us...> - 2005-07-14 18:53:47
|
Update of /cvsroot/stack/stack-1-0/api/languages/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/languages/Stack Added Files: _lang_en_stack_php.html _lang_es_stack_php.html _lang_languages_php.html _lang_nl_stack_php.html Log Message: Updated API --- NEW FILE: _lang_languages_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page languages.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/languages.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file contains country code definitions for languages.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:14 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_es_stack_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stack.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/es/stack.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Strings which STACK uses to display to the user.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:16 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_nl_stack_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stack.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/nl/stack.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Strings which STACK uses to display to the user.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:16 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_stack_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stack.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/stack.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Strings which STACK uses to display to the user.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:16 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
From: Chris S. <san...@us...> - 2005-07-14 18:53:46
|
Update of /cvsroot/stack/stack-1-0/api/install/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/install/Stack Added Files: _scripts_install_stackInstall_php.html Log Message: Updated API --- NEW FILE: _scripts_install_stackInstall_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackInstall.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/install/stackInstall.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> | <a href="#sec-constants">Constants</a> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Installs the various functions needed by STACK.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> | <a href="#sec-constants">Constants</a> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <a name="___/__/stackstd_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">'../../stackstd.php'</span>) (line <span class="line-number">14</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Include the stack settings.</p> </div> </div> </div> <a name="sec-constants"></a> <div class="info-box"> <div class="info-box-title">Constants</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-includes">Includes</a> | <span class="disabled">Constants</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <a name="defineSTACK_SQL_PRIVILEGES"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Constant.png" /> <span class="const-title"> <span class="const-name">STACK_SQL_PRIVILEGES</span> = 'ALTER,CREATE,CREATE TEMPORARY TABLES,DELETE,DROP,INDEX,INSERT,LOCK TABLES,SELECT,UPDATE' (line <span class="line-number">32</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-includes">Includes</a> | <a href="#sec-constants">Constants</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_mysqlcmd" id="functionstack_mysqlcmd"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_mysqlcmd</span> (line <span class="line-number">43</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Used to connect to the MySQL stack database and execute a query.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_mysqlcmd </span> (<span class="var-type">string</span> <span class="var-name">$qu</span>, <span class="var-type">string</span> <span class="var-name">$who</span>, <span class="var-type">array</span> <span class="var-name">&$err</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$qu</span><span class="var-description">: The query to execute</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$who</span><span class="var-description">: The MySQL user name</span> </li> <li> <span class="var-type">array</span> <span class="var-name">&$err</span><span class="var-description">: Array of errors passed by reference</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:20 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
From: Chris S. <san...@us...> - 2005-07-14 18:53:45
|
Update of /cvsroot/stack/stack-1-0/api/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/default Added Files: _frontend_general_qb_display_php.html _scripts_install_stacktest_php.html Log Message: Updated API --- NEW FILE: _frontend_general_qb_display_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page qb_display.php</title> <link rel="stylesheet" href="../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/frontend_general/qb_display.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Juliette White jv...@jv...</li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_display_qb_edit" id="functionstack_display_qb_edit"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_qb_edit</span> (line <span class="line-number">54</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the form for editting a question</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_edit </span> (<span class="var-type">array</span> <span class="var-name">$question</span>, <span class="var-type">array</span> <span class="var-name">$errors</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$question</span><span class="var-description">: The question to edit</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$errors</span><span class="var-description">: The question bank filter</span> </li> </ul> </div> <a name="functionstack_display_qb_edit_metadata" id="functionstack_display_qb_edit_metadata"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_qb_edit_metadata</span> (line <span class="line-number">69</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the edit metadate form</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_edit_metadata </span> (<span class="var-type">array</span> <span class="var-name">$question_bank_filter</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$question_bank_filter</span><span class="var-description">: The question bank filter to apply</span> </li> </ul> </div> <a name="functionstack_display_qb_import" id="functionstack_display_qb_import"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_qb_import</span> (line <span class="line-number">82</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the form for importing a file</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_import </span> (<span class="var-type">mixed</span> <span class="var-name">$errors</span>) </div> </div> <a name="functionstack_display_qb_main" id="functionstack_display_qb_main"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_qb_main</span> (line <span class="line-number">32</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the main question bank page</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_main </span> (<span class="var-type">bool</span> <span class="var-name">$admin</span>, <span class="var-type">array</span> <span class="var-name">$question_bank_filter</span>) </div> <ul class="parameters"> <li> <span class="var-type">bool</span> <span class="var-name">$admin</span><span class="var-description">: TRUE if the user is the admin user, FALSE otherwise</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$question_bank_filter</span><span class="var-description">: The question bank filter</span> </li> </ul> </div> <a name="functionstack_display_qb_preview" id="functionstack_display_qb_preview"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_qb_preview</span> (line <span class="line-number">134</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the preview of a question</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_preview </span> (<span class="var-type">mixed</span> <span class="var-name">$questionInst</span>) </div> </div> <a name="functionstack_display_qb_show_imported" id="functionstack_display_qb_show_imported"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_qb_show_imported</span> (line <span class="line-number">92</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the imported questions</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_show_imported </span> (<span class="var-type">array</span> <span class="var-name">$quiz</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quiz</span><span class="var-description">: The imported quiz</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:34:35 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_install_stacktest_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stacktest.php</title> <link rel="stylesheet" href="../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/install/stacktest.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_{$stack_root}/scripts/maxima/initmaxima_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require</span> (<span class="include-name">"{$stack_root}/scripts/maxima/initmaxima.php"</span>) (line <span class="line-number">38</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">*********************************************</p> </div> <a name="___/__/stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">'../../stackstd.php'</span>) (line <span class="line-number">28</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Include the stack settings.</p> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:24 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
From: Chris S. <san...@us...> - 2005-07-14 18:53:44
|
Update of /cvsroot/stack/stack-1-0/api/lib/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/lib/Stack Added Files: Axiom.html CASProcess.html Maxima.html StackCAS.html StackProcess.html StackRequest.html StackResponse.html StackSocket.html TexProcess.html _scripts_CASpool_stackCAS_php.html _scripts_CASpool_stackProcess_php.html _scripts_CASpool_stackRequest_php.html _scripts_CASpool_stackSocket_php.html Log Message: Updated API --- NEW FILE: TexProcess.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class TexProcess</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> TexProcess</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-vars">Vars</a> | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Class to support communication with a TeX-HTML converter.</p> <p class="notes"> Located in <a class="field" href="_scripts_CASpool_stackProcess_php.html">/scripts/CASpool/stackProcess.php</a> (line <span class="field">119</span>) </p> <pre><a href="../../lib/Stack/StackProcess.html">StackProcess</a> | --TexProcess</pre> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-vars">Vars</a> | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-result">void</span> <a href="#TexProcess" title="details" class="method-name">TexProcess</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">boolean</span> <a href="#CPInitialise" title="details" class="method-name">CPInitialise</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <a href="#CPSend" title="details" class="method-name">CPSend</a> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span>) </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <h4>Inherited Variables</h4> <A NAME='inherited_vars'><!-- --></A> <p>Inherited from <span class="classname"><a href="../../lib/Stack/StackProcess.html">StackProcess</a></span></p> <blockquote> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpCmd">StackProcess::$cpCmd</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpDescriptors">StackProcess::$cpDescriptors</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpPipes">StackProcess::$cpPipes</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpProcess">StackProcess::$cpProcess</a></span><br> </span> </blockquote> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-vars">Vars</a> <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodTexProcess" id="TexProcess"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Constructor.png" /> <span class="method-title">Constructor TexProcess</span> (line <span class="line-number">129</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Constructor</p> <p class="description"><p>Initialises $cpCmd and $cpDescriptors according to values set in stacksettings.inc</p></p> <ul class="tags"> <li><span class="field">see:</span> <a href="../../lib/Stack/StackProcess.html#methodStackProcess">StackProcess::StackProcess()</a></li> </ul> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> TexProcess </span> () </div> </div> <a name="methodCPInitialise" id="CPInitialise"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPInitialise</span> (line <span class="line-number">148</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Opens communication with external process.</p> <ul class="tags"> <li><span class="field">return:</span> true if connected successfully, false otherwise</li> <li><span class="field">see:</span> <a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></li> </ul> <div class="method-signature"> <span class="method-result">boolean</span> <span class="method-name"> CPInitialise </span> () </div> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></dt> <dd>Opens communication with external process.</dd> </dl> </div> <a name="methodCPSend" id="CPSend"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPSend</span> (line <span class="line-number">162</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Send and receive data from stdin and stdout.</p> <p class="description"><p>Possible error: -'TEX-INVALID' if received from unknown source</p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains converted HTML string</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPSend </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span><span class="var-description">: Expecting $crType 'TEXCOMMAND', $crData contains TeX string to convert</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPSend">StackProcess::CPSend()</a></dt> <dd>Send and receive data from external process.</dd> </dl> </div> <h4>Inherited Methods</h4> <a name='inherited_methods'><!-- --></a> <!-- =========== Summary =========== --> <p>Inherited From <span class="classname"><a href="../../lib/Stack/StackProcess.html">StackProcess</a></span></p> <blockquote> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodStackProcess">StackProcess::StackProcess()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPClose">StackProcess::CPClose()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPInterrupt">StackProcess::CPInterrupt()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPSend">StackProcess::CPSend()</a></span><br> </blockquote> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:21 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_CASpool_stackProcess_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackProcess.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/CASpool/stackProcess.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">These classes send and receive data from an external process (e.g. CAS, TTH).</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_{$stack_root}/scripts/CASpool/stackCAS_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/CASpool/stackCAS.php"</span>) (line <span class="line-number">12</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/CASpool/stackRequest_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/CASpool/stackRequest.php"</span>) (line <span class="line-number">17</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:20 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: CASProcess.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class CASProcess</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> CASProcess</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Class to support communication with an external CAS process.</p> <p class="notes"> Located in <a class="field" href="_scripts_CASpool_stackProcess_php.html">/scripts/CASpool/stackProcess.php</a> (line <span class="field">194</span>) </p> <pre><a href="../../lib/Stack/StackProcess.html">StackProcess</a> | --CASProcess</pre> </div> </div> <a name="sec-var-summary"></a> <div class="info-box"> <div class="info-box-title">Variable Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="var-summary"> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type"><a href="../../lib/Stack/StackCAS.html">StackCAS</a></span> <a href="#$cpCAS" title="details" class="var-name">$cpCAS</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">char</span> <a href="#$cpOutputEndChar" title="details" class="var-name">$cpOutputEndChar</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">char</span> <a href="#$cpOutputStartChar" title="details" class="var-name">$cpOutputStartChar</a> </div> </div> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-result">void</span> <a href="#CASProcess" title="details" class="method-name">CASProcess</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <a href="#CPAnswerTest" title="details" class="method-name">CPAnswerTest</a> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$testRequest</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">void</span> <a href="#CPClose" title="details" class="method-name">CPClose</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">boolean</span> <a href="#CPInitialise" title="details" class="method-name">CPInitialise</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <a href="#CPProcessVars" title="details" class="method-name">CPProcessVars</a> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$varRequest</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <a href="#CPSend" title="details" class="method-name">CPSend</a> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span>) </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <a name="var$cpCAS" id="$cpCAS"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type"><a href="../../lib/Stack/StackCAS.html">StackCAS</a></span> <span class="var-name">$cpCAS</span> (line <span class="line-number">199</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Holds/produces CAS-specific information</li> </ul> </div> <a name="var$cpOutputEndChar" id="$cpOutputEndChar"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">char</span> <span class="var-name">$cpOutputEndChar</span> (line <span class="line-number">207</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Marks the end of expected CAS output</li> </ul> </div> <a name="var$cpOutputStartChar" id="$cpOutputStartChar"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">char</span> <span class="var-name">$cpOutputStartChar</span> (line <span class="line-number">203</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Marks the beginning of expected CAS output</li> </ul> </div> <h4>Inherited Variables</h4> <A NAME='inherited_vars'><!-- --></A> <p>Inherited from <span class="classname"><a href="../../lib/Stack/StackProcess.html">StackProcess</a></span></p> <blockquote> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpCmd">StackProcess::$cpCmd</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpDescriptors">StackProcess::$cpDescriptors</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpPipes">StackProcess::$cpPipes</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpProcess">StackProcess::$cpProcess</a></span><br> </span> </blockquote> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodCASProcess" id="CASProcess"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Constructor.png" /> <span class="method-title">Constructor CASProcess</span> (line <span class="line-number">217</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Constructor</p> <p class="description"><p>Uses information from stacksettings.inc to initialise $cpCmd and $cpDescriptors. The initial release of STACK supports the Axiom CAS, which is available from <a href="http://www.nongnu.org/axiom">Axiom</a>.</p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> CASProcess </span> () </div> </div> <a name="methodCPAnswerTest" id="CPAnswerTest"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPAnswerTest</span> (line <span class="line-number">368</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Evaluate an answer test.</p> <p class="description"><p>Possible errors: <ul><li>TEST-UNPACK : couldn't read the data sent in the request, $crReturn contains keys of empty variables</li><li>TEST-UNKNOWN : an unsupported answer test was requested, $crReturn contains name of unsupported answer test</li><li>TEST-TIMESTAMP : output from CAS did not match with input</li><li>TEST-PARSE : output from CAS could not be parsed, $crReturn contains errors</li></ul></p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains CAS output</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPAnswerTest </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$testRequest</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$testRequest</span><span class="var-description">: $crData contains answer test parameters</span> </li> </ul> </div> <a name="methodCPClose" id="CPClose"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPClose</span> (line <span class="line-number">544</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Closes communication with external process.</p> <p class="description"><p>Attempts to close CAS process nicely and terminates it if this doesn't work.</p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> CPClose </span> () </div> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPClose">StackProcess::CPClose()</a></dt> <dd>Closes communication with external process.</dd> </dl> </div> <a name="methodCPInitialise" id="CPInitialise"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPInitialise</span> (line <span class="line-number">248</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Opens communication with external process.</p> <ul class="tags"> <li><span class="field">return:</span> true if connected successfully, false otherwise</li> </ul> <div class="method-signature"> <span class="method-result">boolean</span> <span class="method-name"> CPInitialise </span> () </div> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></dt> <dd>Opens communication with external process.</dd> </dl> </div> <a name="methodCPProcessVars" id="CPProcessVars"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPProcessVars</span> (line <span class="line-number">463</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Instantiate a list of local variables.</p> <p class="description"><p>Possible errors: <ul><li>VARS-UNPACK : request array was empty</li><li>VARS-CODEINST : error instantiating CAS-specific code</li><li>VARS-TIMESTAMP : output from CAS did not match with input</li><li>VARS-PARSE : output from CAS could not be parsed, any variables that could not be instantiated are restored to un-CASed value in $crReturn</li></ul></p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains the instantiated values</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPProcessVars </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$varRequest</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$varRequest</span><span class="var-description">: $crData contains the list of local variables</span> </li> </ul> </div> <a name="methodCPSend" id="CPSend"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPSend</span> (line <span class="line-number">275</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Send and receive data from stdin and stdout.</p> <p class="description"><p>Possible errors: <ul><li>CAS-INVALID : indicates syntax error with CAS Command (didn't produce expected output)</li><li>CAS-TIMEOUT : took more than $stack_timeout seconds to finish processing</li></ul></p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains the CAS' returned value</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPSend </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span><span class="var-description">: $crData contains the command to be sent to the CAS</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPSend">StackProcess::CPSend()</a></dt> <dd>Send and receive data from external process.</dd> </dl> </div> <h4>Inherited Methods</h4> <a name='inherited_methods'><!-- --></a> <!-- =========== Summary =========== --> <p>Inherited From <span class="classname"><a href="../../lib/Stack/StackProcess.html">StackProcess</a></span></p> <blockquote> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodStackProcess">StackProcess::StackProcess()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPClose">StackProcess::CPClose()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPInterrupt">StackProcess::CPInterrupt()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPSend">StackProcess::CPSend()</a></span><br> </blockquote> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:20 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_CASpool_stackRequest_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackRequest.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/CASpool/stackRequest.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Classes for communicating between sockets, processes and the web client.</p> <p class="description"><p>These classes handle the following types of communication: <ol><li>Web Client to Stack Socket</li><li>Parent Stack Socket to Child Stack Socket</li><li>Child Stack Socket to its CASProcess</li><li>Between CASProcess functions (e.g. CPAnswerTest to CPSend)</li></ol> Currently supported request types: <ul><li>TEXCOMMAND : convert TEX to HTML</li><li>INITIALISE: send an initialisation command to the CAS</li><li>COMMAND : evaluate a simple CAS Command</li><li>TEST : apply an answer test</li><li>PROCESSVARS : instantiate a list of local variables</li><li>SOCKETCLOSE : shutdown the system</li><li>FINISH : acknowledge that response data has been received</li></ul></p></p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:23 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: StackRequest.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class StackRequest</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> StackRequest</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This class is used to send a request for data.</p> <p class="description"><p>Along with <a href="../../lib/Stack/StackResponse.html">StackResponse</a>, this class handles the following types of communication: <ol><li>Web Client to Stack Socket</li><li>Parent Stack Socket to Child Stack Socket</li><li>Child Stack Socket to its CASProcess</li><li>Between CASProcess functions (e.g. CPAnswerTest to CPSend)</li></ol> Currently supported request types: <ul><li>TEXCOMMAND : convert TEX to HTML</li><li>INITIALISE: send an initialisation command to the CAS</li><li>COMMAND : evaluate a simple CAS Command</li><li>TEST : apply an answer test</li><li>PROCESSVARS : instantiate a list of local variables</li><li>SOCKETCLOSE : shutdown the system</li><li>FINISH : acknowledge that response data has been received</li></ul></p></p> <p class="notes"> Located in <a class="field" href="_scripts_CASpool_stackRequest_php.html">/scripts/CASpool/stackRequest.php</a> (line <span class="field">47</span>) </p> <pre></pre> </div> </div> <a name="sec-var-summary"></a> <div class="info-box"> <div class="info-box-title">Variable Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="var-summary"> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">mixed</span> <a href="#$crData" title="details" class="var-name">$crData</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">int</span> <a href="#$crPID" title="details" class="var-name">$crPID</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">int</span> <a href="#$crPort" title="details" class="var-name">$crPort</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">int</span> <a href="#$crStackID" title="details" class="var-name">$crStackID</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">boolean</span> <a href="#$crTimed" title="details" class="var-name">$crTimed</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">string</span> <a href="#$crType" title="details" class="var-name">$crType</a> </div> </div> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-result">void</span> <a href="#StackRequest" title="details" class="method-name">StackRequest</a> (<span class="var-type">string</span> <span class="var-name">$type</span>) </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <a name="var$crData" id="$crData"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">mixed</span> <span class="var-name">$crData</span> (line <span class="line-number">67</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Data for the request</li> </ul> </div> <a name="var$crPID" id="$crPID"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">int</span> <span class="var-name">$crPID</span> (line <span class="line-number">51</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Process identifier</li> </ul> </div> <a name="var$crPort" id="$crPort"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">int</span> <span class="var-name">$crPort</span> (line <span class="line-number">55</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Port identifier</li> </ul> </div> <a name="var$crStackID" id="$crStackID"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">int</span> <span class="var-name">$crStackID</span> (line <span class="line-number">59</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Random number identifier (so that child StackSocket can only deal with requests from parent StackSocket)</li> </ul> </div> <a name="var$crTimed" id="$crTimed"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">boolean</span> <span class="var-name">$crTimed</span> (line <span class="line-number">71</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Whether or not a timeout value should be used (e.g. don't want to time out when CASProcess is initialising, but do want to to when waiting for response from a user's CAS command)</li> </ul> </div> <a name="var$crType" id="$crType"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">string</span> <span class="var-name">$crType</span> (line <span class="line-number">63</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Must be one of the supported request types</li> </ul> </div> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodStackRequest" id="StackRequest"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Constructor.png" /> <span class="method-title">Constructor StackRequest</span> (line <span class="line-number">82</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Constructor</p> <p class="description"><p>Creates a request of the specified $type. Request is not timed by default</p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> StackRequest </span> (<span class="var-type">string</span> <span class="var-name">$type</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$type</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:23 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: Maxima.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class Maxima</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> Maxima</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-vars">Vars</a> | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">The base class for generating CAS specific code.</p> <p class="notes"> Located in <a class="field" href="_scripts_CASpool_stackCAS_php.html">/scripts/CASpool/stackCAS.php</a> (line <span class="field">287</span>) </p> <pre><a href="../../lib/Stack/StackCAS.html">StackCAS</a> | --Maxima</pre> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-vars">Vars</a> | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-result">void</span> <a href="#Maxima" title="details" class="method-name">Maxima</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">string</span> <a href="#CASAnsTestCmd" title="details" class="method-name">CASAnsTestCmd</a> (<span class="var-type">string</span> <span class="var-name">$exp1</span>, <span class="var-type">string</span> <span class="var-name">$exp2</span>, <span class="var-type">int</span> <span class="var-name">$t</span>, <span class="var-type">mixed</span> <span class="var-name">$OPT_OUTPUT</span>, <span class="var-type">string</span> <span class="var-name">$test</span>, <span class="var-type">string</span> <span class="var-name">$display</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">array</span> <a href="#CASAnsTestParse" title="details" class="method-name">CASAnsTestParse</a> (<span class="var-type">string</span> <span class="var-name">$instr</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">string</span> <a href="#CASCodeInstantiate" title="details" class="method-name">CASCodeInstantiate</a> (<span class="var-type">array</span> <span class="var-name">$locvars</span>, <span class="var-type">int</span> <span class="var-name">$t</span>, <span class="var-type">mixed</span> <span class="var-name">$seed</span>, <span class="var-type">mixed</span> <span class="var-name">$displayopt</span>, <span class="var-type">string</span> <span class="var-name">$display</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">array</span> <a href="#CASParseCASOutput" title="details" class="method-name">CASParseCASOutput</a> (<span class="var-type">string</span> <span class="var-name">$instr</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">array</span> <a href="#CASParsePreparse" title="details" class="method-name">CASParsePreparse</a> (<span class="var-type">array</span> <span class="var-name">$strin</span>) </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <h4>Inherited Variables</h4> <A NAME='inherited_vars'><!-- --></A> <p>Inherited from <span class="classname"><a href="../../lib/Stack/StackCAS.html">StackCAS</a></span></p> <blockquote> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackCAS.html#var$casCloseCommand">StackCAS::$casCloseCommand</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackCAS.html#var$casCommand">StackCAS::$casCommand</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackCAS.html#var$casInitCommand">StackCAS::$casInitCommand</a></span><br> </span> </blockquote> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-vars">Vars</a> <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodMaxima" id="Maxima"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Constructor.png" /> <span class="method-title">Constructor Maxima</span> (line <span class="line-number">297</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Constructor</p> <p class="description"><p>Uses parent StackCAS constructor</p></p> <ul class="tags"> <li><span class="field">see:</span> <a href="../../lib/Stack/StackCAS.html#methodStackCAS">StackCAS::StackCAS()</a></li> </ul> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> Maxima </span> () </div> </div> <a name="methodCASAnsTestCmd" id="CASAnsTestCmd"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASAnsTestCmd</span> (line <span class="line-number">437</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to produce the CAS command to apply a specific answer test.</p> <ul class="tags"> <li><span class="field">return:</span> The command to send to the CAS</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> CASAnsTestCmd </span> (<span class="var-type">string</span> <span class="var-name">$exp1</span>, <span class="var-type">string</span> <span class="var-name">$exp2</span>, <span class="var-type">int</span> <span class="var-name">$t</span>, <span class="var-type">mixed</span> <span class="var-name">$OPT_OUTPUT</span>, <span class="var-type">string</span> <span class="var-name">$test</span>, <span class="var-type">string</span> <span class="var-name">$display</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$exp1</span><span class="var-description">: The first expression (nominally the student's answer)</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$exp2</span><span class="var-description">: The second expression (nominally the teacher's answer)</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$t</span><span class="var-description">: Timestamp identifier used to match CAS input and output</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$display</span><span class="var-description">: The desired output format (a Stack Option)</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$test</span><span class="var-description">: The answer test to apply</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASAnsTestCmd">StackCAS::CASAnsTestCmd()</a></dt> <dd>Produces the CAS specific command to apply an answer test.</dd> </dl> </div> <a name="methodCASAnsTestParse" id="CASAnsTestParse"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASAnsTestParse</span> (line <span class="line-number">487</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to parse the CAS output from an answer test into an array.</p> <ul class="tags"> <li><span class="field">return:</span> containing fields ['AnsValue'] and ['AnsDisplay']</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> CASAnsTestParse </span> (<span class="var-type">string</span> <span class="var-name">$instr</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$instr</span><span class="var-description">: the raw CAS output</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASAnsTestParse">StackCAS::CASAnsTestParse()</a></dt> <dd>Parses CAS output from an answer test command.</dd> </dl> </div> <a name="methodCASCodeInstantiate" id="CASCodeInstantiate"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASCodeInstantiate</span> (line <span class="line-number">311</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to produce the code to process a list of local variables.</p> <ul class="tags"> <li><span class="field">return:</span> The command to send to the CAS</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> CASCodeInstantiate </span> (<span class="var-type">array</span> <span class="var-name">$locvars</span>, <span class="var-type">int</span> <span class="var-name">$t</span>, <span class="var-type">mixed</span> <span class="var-name">$seed</span>, <span class="var-type">mixed</span> <span class="var-name">$displayopt</span>, <span class="var-type">string</span> <span class="var-name">$display</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$locvars</span><span class="var-description">: List of local variables to be instantiated</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$t</span><span class="var-description">: Timestamp identifier used to match CAS input and output</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$display</span><span class="var-description">: The desired output format (a Stack Option)</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASCodeInstantiate">StackCAS::CASCodeInstantiate()</a></dt> <dd>Produces the CAS specific command for instantiating a list of local variables.</dd> </dl> </div> <a name="methodCASParseCASOutput" id="CASParseCASOutput"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASParseCASOutput</span> (line <span class="line-number">391</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to parse CAS output of instantiated local variables into an array.</p> <ul class="tags"> <li><span class="field">return:</span> Has field ['questionVarsInst'] containing the array of instantiated local variables</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> CASParseCASOutput </span> (<span class="var-type">string</span> <span class="var-name">$instr</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$instr</span><span class="var-description">: The raw CAS output</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASParseCASOutput">StackCAS::CASParseCASOutput()</a></dt> <dd>Parses CAS output into an array of local variables.</dd> </dl> </div> <a name="methodCASParsePreparse" id="CASParsePreparse"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASParsePreparse</span> (line <span class="line-number">348</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to parse CAS output into an array.</p> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> CASParsePreparse </span> (<span class="var-type">array</span> <span class="var-name">$strin</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$strin</span><span class="var-description">: Raw CAS output</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASParsePreparse">StackCAS::CASParsePreparse()</a></dt> <dd>Parses CAS output into an array.</dd> </dl> </div> <h4>Inherited Methods</h4> <a name='inherited_methods'><!-- --></a> <!-- =========== Summary =========== --> <p>Inherited From <span class="classname"><a href="../../lib/Stack/StackCAS.html">StackCAS</a></span></p> <blockquote> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodStackCAS">StackCAS::StackCAS()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASAnsTestCmd">StackCAS::CASAnsTestCmd()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASAnsTestParse">StackCAS::CASAnsTestParse()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASCodeInstantiate">StackCAS::CASCodeInstantiate()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASParseCASOutput">StackCAS::CASParseCASOutput()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASParsePreparse">StackCAS::CASParsePreparse()</a></span><br> </blockquote> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:17 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: StackProcess.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class StackProcess</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> StackProcess</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Desc... [truncated message content] |
From: Chris S. <san...@us...> - 2005-07-14 18:53:44
|
Update of /cvsroot/stack/stack-1-0/api/frontend In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/frontend Added Files: _frontend_general_editquiz_display_php.html Log Message: Updated API --- NEW FILE: _frontend_general_editquiz_display_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page editquiz_display.php</title> <link rel="stylesheet" href="../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/frontend_general/editquiz_display.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Juliette White jv...@jv...</li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_display_editquiz_edit" id="functionstack_display_editquiz_edit"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_edit</span> (line <span class="line-number">86</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the page for editting a quiz</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_edit </span> (<span class="var-type">array</span> <span class="var-name">$quiz</span>, <span class="var-type">array</span> <span class="var-name">$errors</span>, <span class="var-type">string</span> <span class="var-name">$PostTo</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quiz</span><span class="var-description">: The quiz to edit</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$errors</span><span class="var-description">: The errors string</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: The page that the info from the form should be posted to</span> </li> </ul> </div> <a name="functionstack_display_editquiz_error" id="functionstack_display_editquiz_error"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_error</span> (line <span class="line-number">98</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays any quiz editting erros</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_error </span> (<span class="var-type">array</span> <span class="var-name">$errors</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$errors</span><span class="var-description">: The errors string</span> </li> </ul> </div> <a name="functionstack_display_editquiz_error_not_admin" id="functionstack_display_editquiz_error_not_admin"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_error_not_admin</span> (line <span class="line-number">108</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays a message saying that the user is not the admin so cannot edit quizzes</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_error_not_admin </span> (<span class="var-type">array</span> <span class="var-name">$user</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$user</span><span class="var-description">: The user</span> </li> </ul> </div> <a name="functionstack_display_editquiz_no_quizzes" id="functionstack_display_editquiz_no_quizzes"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_no_quizzes</span> (line <span class="line-number">72</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays a message saying that are no quizzes to edit</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_no_quizzes </span> (<span class="var-type">string</span> <span class="var-name">$PostTo</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: The page that the info from the form should be posted to</span> </li> </ul> </div> <a name="functionstack_display_editquiz_select" id="functionstack_display_editquiz_select"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Function.png" /> <span class="method-title">stack_display_editquiz_select</span> (line <span class="line-number">32</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the list of quizzes for the admin to edit</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_editquiz_select </span> (<span class="var-type">mixed</span> <span class="var-name">$quiz_store</span>, <span class="var-type">string</span> <span class="var-name">$PostTo</span>, <span class="var-type">array</span> <span class="var-name">$quizstore</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quizstore</span><span class="var-description">: The store of quizzes</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$PostTo</span><span class="var-description">: The page that the info from the form should be posted to</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:34:32 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
From: Chris S. <san...@us...> - 2005-07-14 18:53:42
|
Update of /cvsroot/stack/stack-1-0/api/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/Stack Added Files: _analysis_php.html _index_php.html _user_php.html Log Message: Updated API --- NEW FILE: _user_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page user.php</title> <link rel="stylesheet" href="../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/user.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_stackstd_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'stackstd.php'</span>) (line <span class="line-number">26</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">*************************************************************</p> <p class="description"><p>(1) Process Input - this sets $action, $user and $username *************************************************************</p></p> </div> <a name="_html/pagefoot_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../frontend/Stack/_html_pagefoot_php.html">'html/pagefoot.php'</a></span>) (line <span class="line-number">81</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/frontend_general/process_input_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/frontend_general/process_input.php'</span>) (line <span class="line-number">29</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagehead_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../frontend/Stack/_html_pagehead_php.html">'html/pagehead.php'</a></span>) (line <span class="line-number">57</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/frontend_general/front_end_display_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">$stack_root.'/frontend_general/front_end_display.php'</span>) (line <span class="line-number">28</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:27 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _analysis_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page analysis.php</title> <link rel="stylesheet" href="../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/analysis.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_html/pagehead_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../frontend/Stack/_html_pagehead_php.html">'html/pagehead.php'</a></span>) (line <span class="line-number">82</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagefoot_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../frontend/Stack/_html_pagefoot_php.html">'html/pagefoot.php'</a></span>) (line <span class="line-number">374</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/scripts/stackUser_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">$stack_root."/scripts/stackUser.php"</span>) (line <span class="line-number">52</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/scripts/stackUser_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">$stack_root."/scripts/stackUser.php"</span>) (line <span class="line-number">57</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">'stackstd.php'</span>) (line <span class="line-number">37</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Include local settings.</p> </div> <a name="_{$stack_root}/html/trypopupform_html"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/html/trypopupform.html"</span>) (line <span class="line-number">38</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:10 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _index_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page index.php</title> <link rel="stylesheet" href="../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/index.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> <p>Juliette White jv...@jv...</p><p>This file contains the front end logic for the main frontend pages TO DO: Some of the code in this file needs to be factored out into separate algorithms- ideally we should have a function for each action on entry and for display.</p></li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_$stack_root_/frontend_general/process_input_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/frontend_general/process_input.php'</span>) (line <span class="line-number">46</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagehead_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../frontend/Stack/_html_pagehead_php.html">'html/pagehead.php'</a></span>) (line <span class="line-number">70</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_frontend_general/loginregister_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../frontend/Stack/_frontend_general_loginregister_php.html">'frontend_general/loginregister.php'</a></span>) (line <span class="line-number">61</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'stackstd.php'</span>) (line <span class="line-number">38</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagefoot_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../frontend/Stack/_html_pagefoot_php.html">'html/pagefoot.php'</a></span>) (line <span class="line-number">115</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/scripts/stackUser_php"><!-- --></a> <div class="evenrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">$stack_root."/scripts/stackUser.php"</span>) (line <span class="line-number">95</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/frontend_general/front_end_display_php"><!-- --></a> <div class="oddrow"> <div> <img src="../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">$stack_root.'/frontend_general/front_end_display.php'</span>) (line <span class="line-number">45</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:14 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
Update of /cvsroot/stack/stack-1-0/api/frontend/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/frontend/Stack Added Files: _chat_mathml_php.html _chat_php.html _documentation_php.html _editquiz_php.html _frontend_general_front_end_display_php.html _frontend_general_frontend_util_php.html _frontend_general_loginregister_php.html _frontend_general_process_input_php.html _frontend_general_qb_display_php.html _frontend_general_question_bank_util_php.html _html_pagefoot_php.html _html_pagehead_php.html _html_qselectform_php.html _question_bank_php.html _quiz_php.html Log Message: Updated API --- NEW FILE: _editquiz_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page editquiz.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/editquiz.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> <p>Juliette White jv...@jv...</p><p>This file contains the front end logic for the quiz editting TO DO: Some of the code in this file needs to be factored out into separate algorithms- ideally we should have a function for each action on entry and for display.</p></li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_frontend_general/process_input_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../frontend/Stack/_frontend_general_process_input_php.html">'frontend_general/process_input.php'</a></span>) (line <span class="line-number">48</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagefoot_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../frontend/Stack/_html_pagefoot_php.html">'html/pagefoot.php'</a></span>) (line <span class="line-number">59</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagefoot_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../frontend/Stack/_html_pagefoot_php.html">'html/pagefoot.php'</a></span>) (line <span class="line-number">160</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagehead_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../frontend/Stack/_html_pagehead_php.html">'html/pagehead.php'</a></span>) (line <span class="line-number">55</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_frontend_general/edit_quiz_util_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name"><a href="../../quiz/Stack/_frontend_general_edit_quiz_util_php.html">'frontend_general/edit_quiz_util.php'</a></span>) (line <span class="line-number">50</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/html/helpform_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/html/helpform.php"</span>) (line <span class="line-number">39</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/frontend_general/editquiz_display_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/frontend_general/editquiz_display.php"</span>) (line <span class="line-number">38</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_other/ListMenu_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"other/ListMenu.php"</span>) (line <span class="line-number">34</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/stackAuthor_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/scripts/stackAuthor.php"</span>) (line <span class="line-number">41</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/html/quizjava_html"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/html/quizjava.html"</span>) (line <span class="line-number">40</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"stackstd.php"</span>) (line <span class="line-number">35</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/html/trypopupform_html"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/html/trypopupform.html"</span>) (line <span class="line-number">37</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:12 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _documentation_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page documentation.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/documentation.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> <p>Juliette White jv...@jv...</p><p>This file contains the front end logic for the documentation</p></li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_$stack_root_/frontend_general/process_input_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/frontend_general/process_input.php'</span>) (line <span class="line-number">37</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/html/helpform_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/html/helpform.php'</span>) (line <span class="line-number">43</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'stackstd.php'</span>) (line <span class="line-number">35</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file displays documentation - the variable $action indicates the item of documentation to be displayed.</p> </div> <a name="_$stack_root_/html/pagehead_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/html/pagehead.php'</span>) (line <span class="line-number">44</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/pics/index_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/pics/index.php'</span>) (line <span class="line-number">47</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$file_name"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$file_name</span>) (line <span class="line-number">52</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/html/pagefoot_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/html/pagefoot.php'</span>) (line <span class="line-number">55</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/maximadocs/functions_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/maximadocs/functions.php'</span>) (line <span class="line-number">49</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:12 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _question_bank_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page question_bank.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/question_bank.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> <p>Juliette White jv...@jv...</p><p>This file contains the front end logic for the question bank TO DO: Some of the code in this file needs to be factored out into separate algorithms- ideally we should have a function for each action on entry and for display.</p></li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_$stack_root_/frontend_general/process_input_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/frontend_general/process_input.php'</span>) (line <span class="line-number">34</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'stackstd.php'</span>) (line <span class="line-number">32</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">**********************************************************</p> <p class="description"><p>(1) Process Input - this sets $action, $user and $username ***********************************************************</p></p> </div> <a name="_html/helpform_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../documentation/Stack/_html_helpform_php.html">'html/helpform.php'</a></span>) (line <span class="line-number">36</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/javascripthead_html"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'html/javascripthead.html'</span>) (line <span class="line-number">37</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/trypopupform_html"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'html/trypopupform.html'</span>) (line <span class="line-number">35</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/inputtool_html"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'html/inputtool.html'</span>) (line <span class="line-number">38</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagefoot_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../frontend/Stack/_html_pagefoot_php.html">'html/pagefoot.php'</a></span>) (line <span class="line-number">327</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/pagehead_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../frontend/Stack/_html_pagehead_php.html">'html/pagehead.php'</a></span>) (line <span class="line-number">203</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">********************************************************** (3) Print the page.</p> <p class="description"><p>***********************************************************</p></p> </div> <a name="_{$stack_root}/scripts/stackXML_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/stackXML.php"</span>) (line <span class="line-number">153</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/stackXML_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/stackXML.php"</span>) (line <span class="line-number">137</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">**********************************************************</p> <p class="description"><p>(2) Perform any actions on entering the page ***********************************************************</p></p> </div> <a name="_{$stack_root}/scripts/stackXML_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/stackXML.php"</span>) (line <span class="line-number">160</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/frontend_general/question_bank_util_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">$stack_root.'/frontend_general/question_bank_util.php'</span>) (line <span class="line-number">39</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/frontend_general/qb_display_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">$stack_root.'/frontend_general/qb_display.php'</span>) (line <span class="line-number">40</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:15 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _frontend_general_frontend_util_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page frontend_util.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/frontend_general/frontend_util.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> <p>Juliette White jv...@jv...</p><p>This file contains utility functions used by the front end code TO DO: Some of these functions needs to be consolidated with the functions in the other utility files.</p></li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_get_errps" id="functionstack_get_errps"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_errps</span> (line <span class="line-number">45</span>) </div> <!-- ========== Info from phpDoc block ========= --> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_get_errps </span> (<span class="var-type">mixed</span> <span class="var-name">$err</span>, <span class="var-type">array</span> <span class="var-name">$err,</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$err,</span><span class="var-description">: The user</span> </li> </ul> </div> <a name="functionstack_get_errun" id="functionstack_get_errun"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_errun</span> (line <span class="line-number">37</span>) </div> <!-- ========== Info from phpDoc block ========= --> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> stack_get_errun </span> (<span class="var-type">array</span> <span class="var-name">$err</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$err</span> </li> </ul> </div> <a name="functionstack_get_questionbank_filter" id="functionstack_get_questionbank_filter"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_questionbank_filter</span> (line <span class="line-number">95</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the questionbank filter if this has been set.</p> <p class="description"><p>TO DO: This also sets $SESSION['bank_filter']. This should really be in a separate function. Also should have a $source parameter</p></p> <ul class="tags"> <li><span class="field">return:</span> question_bank_filter The Question Bank Filter</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_questionbank_filter </span> () </div> </div> <a name="functionstack_is_logged_in" id="functionstack_is_logged_in"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_is_logged_in</span> (line <span class="line-number">55</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Returns TRUE if the user is logged in, FALSE otherwise</p> <div class="method-signature"> <span class="method-result">bool</span> <span class="method-name"> stack_is_logged_in </span> (<span class="var-type">$user,</span> <span class="var-name">$user</span>) </div> <ul class="parameters"> <li> <span class="var-type">$user,</span> <span class="var-name">$user</span><span class="var-description">: The user</span> </li> </ul> </div> <a name="functionstack_user_is_admin" id="functionstack_user_is_admin"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_user_is_admin</span> (line <span class="line-number">81</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Returns TRUE if the user is the admin user, FALSE otherwise</p> <div class="method-signature"> <span class="method-result">bool</span> <span class="method-name"> stack_user_is_admin </span> (<span class="var-type">$user,</span> <span class="var-name">$user</span>) </div> <ul class="parameters"> <li> <span class="var-type">$user,</span> <span class="var-name">$user</span><span class="var-description">: The user</span> </li> </ul> </div> <a name="functionstack_user_is_guest" id="functionstack_user_is_guest"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_user_is_guest</span> (line <span class="line-number">68</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Returns TRUE if the user is the guest user, FALSE otherwise</p> <div class="method-signature"> <span class="method-result">bool</span> <span class="method-name"> stack_user_is_guest </span> (<span class="var-type">$user,</span> <span class="var-name">$user</span>) </div> <ul class="parameters"> <li> <span class="var-type">$user,</span> <span class="var-name">$user</span><span class="var-description">: The user</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:13 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _quiz_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page quiz.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/quiz.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file contains the logic of interactions with the site as a user of a quiz.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'stackstd.php'</span>) (line <span class="line-number">14</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/frontend_general/process_input_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/frontend_general/process_input.php'</span>) (line <span class="line-number">17</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$stack_root_/scripts/stackUser_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">$stack_root."/scripts/stackUser.php"</span>) (line <span class="line-number">28</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/html/quizjava_html"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">"{$stack_root}/html/quizjava.html"</span>) (line <span class="line-number">485</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:16 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _html_pagefoot_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page pagefoot.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/html/pagefoot.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK standard page footer.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:15 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _frontend_general_question_bank_util_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page question_bank_util.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/frontend_general/question_bank_util.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> <p>Juliette White jv...@jv...</p><p>This file contains utility functions used by question_bank.php TO DO: Some of these functions needs to be consolidated with the functions in the other utility files.</p></li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_get_question" id="functionstack_get_question"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_question</span> (line <span class="line-number">96</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the question instance that has been stored in $_POST</p> <ul class="tags"> <li><span class="field">return:</span> Quiz question</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_question </span> (<span class="var-type">mixed</span> <span class="var-name">$source</span>, <span class="var-type">string</span> <span class="var-name">$source.</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$source.</span><span class="var-description">: Must be 'database', 'new' or 'default'</span> </li> </ul> </div> <a name="functionstack_get_questionInst" id="functionstack_get_questionInst"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_questionInst</span> (line <span class="line-number">55</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the question instance that has been stored in the session</p> <ul class="tags"> <li><span class="field">return:</span> Quiz question instance</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_questionInst </span> () </div> </div> <a name="functionstack_get_question_from_post" id="functionstack_get_question_from_post"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_question_from_post</span> (line <span class="line-number">71</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the question instance that has been stored in $_POST</p> <ul class="tags"> <li><span class="field">return:</span> Quiz question</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_question_from_post </span> () </div> </div> <a name="functionstack_get_question_from_session" id="functionstack_get_question_from_session"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_question_from_session</span> (line <span class="line-number">32</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the question that has been stored in the session</p> <ul class="tags"> <li><span class="field">return:</span> Quiz question</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_question_from_session </span> () </div> </div> <a name="functionstack_get_seed" id="functionstack_get_seed"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_seed</span> (line <span class="line-number">142</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the seed variable that should be used</p> <ul class="tags"> <li><span class="field">return:</span> The seed variable</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_seed </span> () </div> </div> <a name="functionstack_get_selected_questions" id="functionstack_get_selected_questions"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_get_selected_questions</span> (line <span class="line-number">123</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Gets the selected questions</p> <ul class="tags"> <li><span class="field">return:</span> The questions selected</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> stack_get_selected_questions </span> () </div> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:15 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _frontend_general_qb_display_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page qb_display.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/frontend_general/qb_display.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p><p>This file contains display functions used by question_bank.php</p></p> <ul class="tags"> <li><span class="field">author:</span> Juliette White jv...@jv...</li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_display_qb_edit" id="functionstack_display_qb_edit"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_qb_edit</span> (line <span class="line-number">57</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the form for editting a question</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_edit </span> (<span class="var-type">array</span> <span class="var-name">$question</span>, <span class="var-type">array</span> <span class="var-name">$errors</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$question</span><span class="var-description">: The question to edit</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$errors</span><span class="var-description">: The question bank filter</span> </li> </ul> </div> <a name="functionstack_display_qb_edit_metadata" id="functionstack_display_qb_edit_metadata"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_qb_edit_metadata</span> (line <span class="line-number">72</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the edit metadate form</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_edit_metadata </span> (<span class="var-type">array</span> <span class="var-name">$question_bank_filter</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$question_bank_filter</span><span class="var-description">: The question bank filter to apply</span> </li> </ul> </div> <a name="functionstack_display_qb_import" id="functionstack_display_qb_import"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_qb_import</span> (line <span class="line-number">85</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the form for importing a file</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_import </span> (<span class="var-type">mixed</span> <span class="var-name">$errors</span>) </div> </div> <a name="functionstack_display_qb_main" id="functionstack_display_qb_main"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_qb_main</span> (line <span class="line-number">35</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the main question bank page</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_main </span> (<span class="var-type">bool</span> <span class="var-name">$admin</span>, <span class="var-type">array</span> <span class="var-name">$question_bank_filter</span>) </div> <ul class="parameters"> <li> <span class="var-type">bool</span> <span class="var-name">$admin</span><span class="var-description">: TRUE if the user is the admin user, FALSE otherwise</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$question_bank_filter</span><span class="var-description">: The question bank filter</span> </li> </ul> </div> <a name="functionstack_display_qb_preview" id="functionstack_display_qb_preview"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_qb_preview</span> (line <span class="line-number">137</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the preview of a question</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_preview </span> (<span class="var-type">mixed</span> <span class="var-name">$questionInst</span>) </div> </div> <a name="functionstack_display_qb_show_imported" id="functionstack_display_qb_show_imported"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_qb_show_imported</span> (line <span class="line-number">95</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the imported questions</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_qb_show_imported </span> (<span class="var-type">array</span> <span class="var-name">$quiz</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$quiz</span><span class="var-description">: The imported quiz</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:15 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _frontend_general_front_end_display_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page front_end_display.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/frontend_general/front_end_display.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Welcome to STACK. A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Juliette White jv...@jv...</li> <li><span class="field">author:</span> Laura Naismith L.N...@bh...</li> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_display_main_login" id="functionstack_display_main_login"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_main_login</span> (line <span class="line-number">33</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the login screen</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_main_login </span> (<span class="var-type">string</span> <span class="var-name">$username</span>, <span class="var-type">string</span> <span class="var-name">$errun</span>, <span class="var-type">string</span> <span class="var-name">$errps</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$username</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$errun</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$errps</span> </li> </ul> </div> <a name="functionstack_display_main_register" id="functionstack_display_main_register"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_display_main_register</span> (line <span class="line-number">66</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the registration screen</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_display_main_register </span> (<span class="var-type">string</span> <span class="var-name">$username</span>, <span class="var-type">array</span> <span class="var-name">$user</span>, <span class="var-type">array</span> <span class="var-name">$errors</span>, <span class="var-type">string</span> <span class="var-name">$err</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$username</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$user</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$errors</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$err</span> </li> </ul> </div> <a name="functionstack_user_update_info" id="functionstack_user_update_info"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_user_update_info</span> (line <span class="line-number">48</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays the update user info form.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_user_update_info </span> (<span class="var-type">array</span> <span class="var-name">$user</span>, <span class="var-type">array</span> <span class="var-name">$errors</span>, [<span class="var-type">boolean</span> <span class="var-name">$admin</span> = <span class="var-default">FALSE</span>]) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$user</span><span class="var-description">: The array containing the information about the user.</span> </li> <li> <span class="var-type">array</span> <span class="var-name">$errors</span><span class="var-description">: The usual errors array.</span> </li> <li> <span class="var-type">boolean</span> <span class="var-name">$admin</span><span class="var-description">: Is this being used by the admin user to edit a student's login details?</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:13 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _chat_mathml_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page chat_mathml.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/chat_mathml.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file simply demonstrates the connection of a CAS to the web, using MathML.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <a name="_stackstd_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'stackstd.php'</span>) (line <span class="line-number">80</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'stackstd.php'</span>) (line <span class="line-number">15</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-includes">Includes</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstripslashes_deep" id="functionstripslashes_deep"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stripslashes_deep</span> (line <span class="line-number">25</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Automatically removes slashes deeply from arrays.</p> <ul class="tags"> <li><span class="field">return:</span> the array with slashed removed.</li> </ul> <div class="method-signature"> <span class="method-result">$value</span> <span class="method-name"> stripslashes_deep </span> (<span class="var-type">$value</span> <span class="var-name">$value</span>) </div> <ul class="parameters"> <li> <span class="var-type">$value</span> <span class="var-name">$value</span><span class="var-description">: incoming array.</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _html_pagehead_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page pagehead.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/html/pagehead.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK standard page header.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> ... [truncated message content] |
From: Chris S. <san...@us...> - 2005-07-14 18:53:42
|
Update of /cvsroot/stack/stack-1-0/api/data/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/data/Stack Added Files: _scripts_stackDatabase_php.html Log Message: Updated API --- NEW FILE: _scripts_stackDatabase_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackDatabase.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/stackDatabase.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-functions">Functions</a> [...1253 lines suppressed...] </span> (<span class="var-type">array</span> <span class="var-name">$user</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$user</span><span class="var-description">: The array containing the user.</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:18 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |
Update of /cvsroot/stack/stack-1-0/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api Added Files: blank.html classtrees_Stack.html classtrees_data.html classtrees_default.html classtrees_documentation.html classtrees_frontend.html classtrees_install.html classtrees_languages.html classtrees_lib.html classtrees_maxima.html classtrees_moodlelib.html classtrees_quiz.html classtrees_scripts.html classtrees_stackunix.html classtrees_stackwin.html elementindex.html elementindex_Stack.html elementindex_data.html elementindex_default.html elementindex_documentation.html elementindex_frontend.html elementindex_install.html elementindex_languages.html elementindex_lib.html elementindex_maxima.html elementindex_moodlelib.html elementindex_quiz.html elementindex_scripts.html elementindex_stackunix.html elementindex_stackwin.html errors.html index.html li_Stack.html li_data.html li_default.html li_documentation.html li_frontend.html li_install.html li_languages.html li_lib.html li_maxima.html li_moodlelib.html li_quiz.html li_scripts.html li_stackunix.html li_stackwin.html packages.html Log Message: Updated API --- NEW FILE: li_stackwin.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title></title> <link rel="stylesheet" href="media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="package-title">stackwin</div> <div class="package-details"> <dl class="tree"> <dt class="folder-title">Description</dt> <dd> <a href='classtrees_stackwin.html' target='right'>Class trees</a><br /> <a href='elementindex_stackwin.html' target='right'>Index of elements</a><br /> </dd> <dt class="sub-package"><img class="tree-icon" src="media/images/package.png" alt="Sub-package">Stack</dt> <dd> <dl class="tree"> <dt class="folder-title"><img class="tree-icon" src="media/images/function_folder.png" alt=" ">Functions</dt> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='stackwin/Stack/_scripts_stackWin_php.html#functionCPProcessAnsTest' target='right'>CPProcessAnsTest</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='stackwin/Stack/_scripts_stackWin_php.html#functionCPProcessVars' target='right'>CPProcessVars</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='stackwin/Stack/_scripts_stackWin_php.html#functionstack_latex_to_html' target='right'>stack_latex_to_html</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='stackwin/Stack/_scripts_stackWin_php.html#functionstack_maxima_rawsend' target='right'>stack_maxima_rawsend</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='stackwin/Stack/_scripts_stackWin_php.html#functionstack_process_vars' target='right'>stack_process_vars</a></dd> <dt class="folder-title"><img class="tree-icon" src="media/images/folder.png" alt=" ">Files</dt> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='stackwin/Stack/_scripts_stackWin_php.html' target='right'>stackWin.php</a></dd> </dl> </dd> </dl> </div> <p class="notes"><a href="http://www.phpdoc.org" target="_blank">phpDocumentor v <span class="field">1.2.3</span></a></p> </BODY> </HTML> --- NEW FILE: li_frontend.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title></title> <link rel="stylesheet" href="media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="package-title">frontend</div> <div class="package-details"> <dl class="tree"> <dt class="folder-title">Description</dt> <dd> <a href='classtrees_frontend.html' target='right'>Class trees</a><br /> <a href='elementindex_frontend.html' target='right'>Index of elements</a><br /> </dd> <dt class="sub-package"><img class="tree-icon" src="media/images/package.png" alt="Sub-package">Stack</dt> <dd> <dl class="tree"> <dt class="folder-title"><img class="tree-icon" src="media/images/function_folder.png" alt=" ">Functions</dt> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_front_end_display_php.html#functionstack_display_main_login' target='right'>stack_display_main_login</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_front_end_display_php.html#functionstack_display_main_register' target='right'>stack_display_main_register</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_qb_display_php.html#functionstack_display_qb_edit' target='right'>stack_display_qb_edit</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_qb_display_php.html#functionstack_display_qb_edit_metadata' target='right'>stack_display_qb_edit_metadata</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_qb_display_php.html#functionstack_display_qb_import' target='right'>stack_display_qb_import</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_qb_display_php.html#functionstack_display_qb_main' target='right'>stack_display_qb_main</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_qb_display_php.html#functionstack_display_qb_preview' target='right'>stack_display_qb_preview</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_qb_display_php.html#functionstack_display_qb_show_imported' target='right'>stack_display_qb_show_imported</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_frontend_util_php.html#functionstack_get_errps' target='right'>stack_get_errps</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_frontend_util_php.html#functionstack_get_errun' target='right'>stack_get_errun</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_question_bank_util_php.html#functionstack_get_question' target='right'>stack_get_question</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_frontend_util_php.html#functionstack_get_questionbank_filter' target='right'>stack_get_questionbank_filter</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_question_bank_util_php.html#functionstack_get_questionInst' target='right'>stack_get_questionInst</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_question_bank_util_php.html#functionstack_get_question_from_post' target='right'>stack_get_question_from_post</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_question_bank_util_php.html#functionstack_get_question_from_session' target='right'>stack_get_question_from_session</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_question_bank_util_php.html#functionstack_get_seed' target='right'>stack_get_seed</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_question_bank_util_php.html#functionstack_get_selected_questions' target='right'>stack_get_selected_questions</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_frontend_util_php.html#functionstack_is_logged_in' target='right'>stack_is_logged_in</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_frontend_util_php.html#functionstack_user_is_admin' target='right'>stack_user_is_admin</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_frontend_util_php.html#functionstack_user_is_guest' target='right'>stack_user_is_guest</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_frontend_general_front_end_display_php.html#functionstack_user_update_info' target='right'>stack_user_update_info</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='frontend/Stack/_chat_mathml_php.html#functionstripslashes_deep' target='right'>stripslashes_deep</a></dd> <dt class="folder-title"><img class="tree-icon" src="media/images/folder.png" alt=" ">Files</dt> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_chat_php.html' target='right'>chat.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_chat_mathml_php.html' target='right'>chat_mathml.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_documentation_php.html' target='right'>documentation.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_editquiz_php.html' target='right'>editquiz.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_frontend_general_frontend_util_php.html' target='right'>frontend_util.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_frontend_general_front_end_display_php.html' target='right'>front_end_display.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_frontend_general_loginregister_php.html' target='right'>loginregister.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_html_pagefoot_php.html' target='right'>pagefoot.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_html_pagehead_php.html' target='right'>pagehead.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_frontend_general_process_input_php.html' target='right'>process_input.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_frontend_general_qb_display_php.html' target='right'>qb_display.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_html_qselectform_php.html' target='right'>qselectform.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_question_bank_php.html' target='right'>question_bank.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_frontend_general_question_bank_util_php.html' target='right'>question_bank_util.php</a></dd> <dd><img class="tree-icon" src="media/images/Page.png" alt="File"><a href='frontend/Stack/_quiz_php.html' target='right'>quiz.php</a></dd> </dl> </dd> </dl> </div> <p class="notes"><a href="http://www.phpdoc.org" target="_blank">phpDocumentor v <span class="field">1.2.3</span></a></p> </BODY> </HTML> --- NEW FILE: elementindex_scripts.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title></title> <link rel="stylesheet" href="media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <a name="top"></a> <h2>[scripts] element index</h2> <h3>Package indexes</h3> <ul> <li><a href="elementindex_Stack.html">Stack</a></li> <li><a href="elementindex_frontend.html">frontend</a></li> <li><a href="elementindex_default.html">default</a></li> <li><a href="elementindex_quiz.html">quiz</a></li> <li><a href="elementindex_documentation.html">documentation</a></li> <li><a href="elementindex_languages.html">languages</a></li> <li><a href="elementindex_lib.html">lib</a></li> <li><a href="elementindex_install.html">install</a></li> <li><a href="elementindex_maxima.html">maxima</a></li> <li><a href="elementindex_moodlelib.html">moodlelib</a></li> <li><a href="elementindex_data.html">data</a></li> <li><a href="elementindex_stackunix.html">stackunix</a></li> <li><a href="elementindex_stackwin.html">stackwin</a></li> </ul> <a href="elementindex.html">All elements</a> <br /> <div class="index-letter-menu"> <a class="index-letter" href="elementindex_scripts.html#g">g</a> <a class="index-letter" href="elementindex_scripts.html#k">k</a> <a class="index-letter" href="elementindex_scripts.html#n">n</a> <a class="index-letter" href="elementindex_scripts.html#r">r</a> <a class="index-letter" href="elementindex_scripts.html#s">s</a> <a class="index-letter" href="elementindex_scripts.html#v">v</a> </div> <a name="g"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">g</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">getmicrotime</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functiongetmicrotime">getmicrotime()</a> in stackUtility.php</div> <div class="index-item-description">Formats the results of the PHP microtime() function to four decimal places. Used to calculate page processing time.</div> </dd> </dl> <a name="k"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">k</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">keyval_rawkeyval</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionkeyval_rawkeyval">keyval_rawkeyval()</a> in stackUtility.php</div> <div class="index-item-description">Take an array of locals, and return it to the a string form.</div> </dd> </dl> <a name="n"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">n</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">nsf</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionnsf">nsf()</a> in stackUtility.php</div> <div class="index-item-description">Check for the field $field, in the array $arr Don't apply sf()!</div> </dd> </dl> <a name="r"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">r</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">rawkeyval_keyval</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionrawkeyval_keyval">rawkeyval_keyval()</a> in stackUtility.php</div> <div class="index-item-description">Takes a string of rawkeyval and returns a parsed array. Used for form input and output</div> </dd> </dl> <a name="s"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">s</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">startsocket.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_CASpool_startsocket_php.html">startsocket.php</a> in startsocket.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stopsocket.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_CASpool_stopsocket_php.html">stopsocket.php</a> in stopsocket.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stackAuthor.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html">stackAuthor.php</a> in stackAuthor.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stackData.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackData_php.html">stackData.php</a> in stackData.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stackQuestion.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html">stackQuestion.php</a> in stackQuestion.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stackQuiz.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuiz_php.html">stackQuiz.php</a> in stackQuiz.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stackSocketSend.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackSocketSend_php.html">stackSocketSend.php</a> in stackSocketSend.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stackUser.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html">stackUser.php</a> in stackUser.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stackUtility.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html">stackUtility.php</a> in stackUtility.php</div> </dd> <dt class="field"> <img src="media/images/Page.png" alt="Page" title="Page" /></title> <span class="include-title">stackXML.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackXML_php.html">stackXML.php</a> in stackXML.php</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">sf</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionsf">sf()</a> in stackUtility.php</div> <div class="index-item-description">Check for, then apply stack_s() to the field $field, in the array $arr</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">show_array</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionshow_array">show_array()</a> in stackUtility.php</div> <div class="index-item-description">Displays the contents of an array for HTML display.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_apply_answertest</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_apply_answertest">stack_apply_answertest()</a> in stackQuestion.php</div> <div class="index-item-description">Apply an Answer Test.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_casstring_to_display</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_casstring_to_display">stack_casstring_to_display()</a> in stackUtility.php</div> <div class="index-item-description">Formats a casstring for the supplied display method.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_castext_inst</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_castext_inst">stack_castext_inst()</a> in stackUtility.php</div> <div class="index-item-description">Displays a block of castext after all variables have been instantiated by the CAS.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_castext_to_display</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_castext_to_display">stack_castext_to_display()</a> in stackUtility.php</div> <div class="index-item-description">Formats a castext block for the supplied display method.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_check_for_error</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_check_for_error">stack_check_for_error()</a> in stackUtility.php</div> <div class="index-item-description">Checks for the presence of a $field kind of error in $error</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_generate_guid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_generate_guid">stack_generate_guid()</a> in stackUtility.php</div> <div class="index-item-description">Generate a GUID from</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_lang_filename</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_lang_filename">stack_lang_filename()</a> in stackUtility.php</div> <div class="index-item-description">Create the a filename, given the current options.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_mail_error</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_mail_error">stack_mail_error()</a> in stackUtility.php</div> <div class="index-item-description">Sends a warning in the mail of an event which should not have occured.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_microtime_float</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_microtime_float">stack_microtime_float()</a> in stackUtility.php</div> <div class="index-item-description">Generates a time as a float.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_options_edit_form</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_options_edit_form">stack_options_edit_form()</a> in stackAuthor.php</div> <div class="index-item-description">Build the form to edit a list of STACK options.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_options_forbidden</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_options_forbidden">stack_options_forbidden()</a> in stackQuestion.php</div> <div class="index-item-description">Build an array of forbidden strings</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_options_set</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_options_set">stack_options_set()</a> in stackQuestion.php</div> <div class="index-item-description">Sets the cascading options, first taking the defaults, then using the subject quiz, and finally question values.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_options_set_onepass</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_options_set_onepass">stack_options_set_onepass()</a> in stackQuestion.php</div> <div class="index-item-description">One pass at adding an array of options to an existing options array.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_options_validate</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_options_validate">stack_options_validate()</a> in stackQuestion.php</div> <div class="index-item-description">Validates options, removing any blank or default values.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_page_footer</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_page_footer">stack_page_footer()</a> in stackUtility.php</div> <div class="index-item-description">Generate an HTML page footer if $stack_stand_alone is true.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_page_header</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_page_header">stack_page_header()</a> in stackUtility.php</div> <div class="index-item-description">Generate an HTML page header if $stack_stand_alone is true.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_add_attempt</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_add_attempt">stack_question_add_attempt()</a> in stackQuestion.php</div> <div class="index-item-description">Add an attempt to the student's answer history.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_dispoptionfield</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_dispoptionfield">stack_question_edit_dispoptionfield()</a> in stackAuthor.php</div> <div class="index-item-description">Display the name of a option field, in a link generating a popup window.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_dispquestionfield</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_dispquestionfield">stack_question_edit_dispquestionfield()</a> in stackAuthor.php</div> <div class="index-item-description">Display the name of a questionField, in a link generating a popup window.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_form</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_form">stack_question_edit_form()</a> in stackAuthor.php</div> <div class="index-item-description">Build the form to edit a STACK question.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_form_field</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_form_field">stack_question_edit_form_field()</a> in stackAuthor.php</div> <div class="index-item-description">Build a field of the STACK question edit form</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_form_substance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_form_substance">stack_question_edit_form_substance()</a> in stackAuthor.php</div> <div class="index-item-description">Build the substance of the form to edit a STACK question.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_input_stringfield</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_input_stringfield">stack_question_edit_input_stringfield()</a> in stackAuthor.php</div> <div class="index-item-description">Generates a text input box.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_input_textfield</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_input_textfield">stack_question_edit_input_textfield()</a> in stackAuthor.php</div> <div class="index-item-description">Generates a textfield block.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_option_form</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_option_form">stack_question_edit_option_form()</a> in stackAuthor.php</div> <div class="index-item-description">Generates the portion of the HTML question edit form for editing an option</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_potresp</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_potresp">stack_question_edit_potresp()</a> in stackAuthor.php</div> <div class="index-item-description">Generate a line in a table to display and edit a potential resoponse.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_edit_potresp_branch</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_question_edit_potresp_branch">stack_question_edit_potresp_branch()</a> in stackAuthor.php</div> <div class="index-item-description">Generates a branch of a potential response processing tree.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_errstr</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_errstr">stack_question_errstr()</a> in stackQuestion.php</div> <div class="index-item-description">Produce a report on why an item is invalid - used by the RQP</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_getlastseed</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_getlastseed">stack_question_getlastseed()</a> in stackQuestion.php</div> <div class="index-item-description">Returns the last seed of a $qID generated for $user</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst">stack_question_inst()</a> in stackQuestion.php</div> <div class="index-item-description">Instantiate a $question with the given $options</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_calcmark</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_calcmark">stack_question_inst_calcmark()</a> in stackQuestion.php</div> <div class="index-item-description">Takes a list of attempts and generates the mark.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_displayq</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_displayq">stack_question_inst_displayq()</a> in stackQuestion.php</div> <div class="index-item-description">Display the instantiated question stem.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_feedback</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_feedback">stack_question_inst_feedback()</a> in stackQuestion.php</div> <div class="index-item-description">Display the student's last answer and feedback.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_mark</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_mark">stack_question_inst_mark()</a> in stackQuestion.php</div> <div class="index-item-description">Mark a student's answer to a particular question instance.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_show_attempts</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_show_attempts">stack_question_inst_show_attempts()</a> in stackQuestion.php</div> <div class="index-item-description">Show the user attempts at a question instance.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_show_sol</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_show_sol">stack_question_inst_show_sol()</a> in stackQuestion.php</div> <div class="index-item-description">Show the worked solution.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_try</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_try">stack_question_inst_try()</a> in stackQuestion.php</div> <div class="index-item-description">Display a question, input answer and display feedback.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_try_form</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_try_form">stack_question_inst_try_form()</a> in stackQuestion.php</div> <div class="index-item-description">Create the Try form. Outputs the entire form for students to enter their answers in.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_try_formfrag</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_try_formfrag">stack_question_inst_try_formfrag()</a> in stackQuestion.php</div> <div class="index-item-description">Create a fragment of the Try form.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_inst_try_test</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_inst_try_test">stack_question_inst_try_test()</a> in stackQuestion.php</div> <div class="index-item-description">Display a question, input answer and display attempts.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_potresp_blank</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_potresp_blank">stack_question_potresp_blank()</a> in stackQuestion.php</div> <div class="index-item-description">Produce a blank potential response flowchart</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_reconstruct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_reconstruct">stack_question_reconstruct()</a> in stackQuestion.php</div> <div class="index-item-description">Reconstruct a question instance, including attempts.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_validate</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_validate">stack_question_validate()</a> in stackQuestion.php</div> <div class="index-item-description">Validate a STACK question</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_validate_eachpotresp</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_validate_eachpotresp">stack_question_validate_eachpotresp()</a> in stackQuestion.php</div> <div class="index-item-description">Validate an individual potential response.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_validate_keyvals</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_validate_keyvals">stack_question_validate_keyvals()</a> in stackQuestion.php</div> <div class="index-item-description">Validates and modifies, by reference, the keyval, rawkeyval pairs.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_validate_potresp</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_validate_potresp">stack_question_validate_potresp()</a> in stackQuestion.php</div> <div class="index-item-description">Validate the potential responses field of the question.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_question_validate_sa</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuestion_php.html#functionstack_question_validate_sa">stack_question_validate_sa()</a> in stackQuestion.php</div> <div class="index-item-description">Validate the student's answer</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_quiz_edit</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_quiz_edit">stack_quiz_edit()</a> in stackAuthor.php</div> <div class="index-item-description">Process the incoming $_POST['quiz'] fields.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_quiz_edit_form</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackAuthor_php.html#functionstack_quiz_edit_form">stack_quiz_edit_form()</a> in stackAuthor.php</div> <div class="index-item-description">Build the form to edit a STACK question.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_quiz_student_select</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackQuiz_php.html#functionstack_quiz_student_select">stack_quiz_student_select()</a> in stackQuiz.php</div> <div class="index-item-description">Displays the student quiz selection screen</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_reorder</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_reorder">stack_reorder()</a> in stackUtility.php</div> <div class="index-item-description">Re-order an array, based on the values in the field 'order'</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_reorder_subfun</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_reorder_subfun">stack_reorder_subfun()</a> in stackUtility.php</div> <div class="index-item-description">Calculates the difference between the order values of two arrays.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_s</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_s">stack_s()</a> in stackUtility.php</div> <div class="index-item-description">Synonym for the PHP function htmlspecialchars. See the Moodle function s(.)</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_trans</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_trans">stack_trans()</a> in stackUtility.php</div> <div class="index-item-description">Translates a string taken as output from Maxima.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_user_admin</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html#functionstack_user_admin">stack_user_admin()</a> in stackUser.php</div> <div class="index-item-description">Build the STACK admin user</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_user_blank</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html#functionstack_user_blank">stack_user_blank()</a> in stackUser.php</div> <div class="index-item-description">Build an empty STACK user</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_user_edit_form</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html#functionstack_user_edit_form">stack_user_edit_form()</a> in stackUser.php</div> <div class="index-item-description">Build the form to edit a STACK user.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_user_guest</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html#functionstack_user_guest">stack_user_guest()</a> in stackUser.php</div> <div class="index-item-description">Build a guest STACK user</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_user_information_validate</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html#functionstack_user_information_validate">stack_user_information_validate()</a> in stackUser.php</div> <div class="index-item-description">Validates the information supplied by a user</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_user_login</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html#functionstack_user_login">stack_user_login()</a> in stackUser.php</div> <div class="index-item-description">Return a valid $user array, having checked usernames and passwords.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_user_select_formfrag</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html#functionstack_user_select_formfrag">stack_user_select_formfrag()</a> in stackUser.php</div> <div class="index-item-description">Build the form fragment to produce a dropdown list of current users.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_user_updateinfo</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUser_php.html#functionstack_user_updateinfo">stack_user_updateinfo()</a> in stackUser.php</div> <div class="index-item-description">Update the information of a particular user.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_util_grabbetween</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstack_util_grabbetween">stack_util_grabbetween()</a> in stackUtility.php</div> <div class="index-item-description">Gets the string between two specified characters.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_xml_create_question</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackXML_php.html#functionstack_xml_create_question">stack_xml_create_question()</a> in stackXML.php</div> <div class="index-item-description">Writes a single stackQuestion data structure to an XML string.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_xml_create_question_frag</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackXML_php.html#functionstack_xml_create_question_frag">stack_xml_create_question_frag()</a> in stackXML.php</div> <div class="index-item-description">Takes a stackQuestion array, and returns an XML string fragment.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_xml_parse_question_string</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackXML_php.html#functionstack_xml_parse_question_string">stack_xml_parse_question_string()</a> in stackXML.php</div> <div class="index-item-description">Parses a single stackQuestion XML string back into an array.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_xml_write_question_file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackXML_php.html#functionstack_xml_write_question_file">stack_xml_write_question_file()</a> in stackXML.php</div> <div class="index-item-description">Writes a single stackQuestion data structure to an XML file.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">stack_xml_write_quiz_file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackXML_php.html#functionstack_xml_write_quiz_file">stack_xml_write_quiz_file()</a> in stackXML.php</div> <div class="index-item-description">Writes an array of questions to a single XML file.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">string_to_locvars</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionstring_to_locvars">string_to_locvars()</a> in stackUtility.php</div> <div class="index-item-description">Takes a castext string, and takes out all the implicit locals variables.</div> </dd> </dl> <a name="v"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">v</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">validate_casstring</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionvalidate_casstring">validate_casstring()</a> in stackUtility.php</div> <div class="index-item-description">Validates a string containing CAS functions before sending it to the CAS. A casstring is identified by text between @ and @ signs.</div> </dd> <dt class="field"> <img src="media/images/Function.png" alt="Function" title="Function" /></title> <span class="method-title">validate_castext</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="scripts/Stack/_scripts_stackUtility_php.html#functionvalidate_castext">validate_castext()</a> in stackUtility.php</div> <div class="index-item-description">Used to validate a string which may contain multiple casstrings.</div> </dd> </dl> <div class="index-letter-menu"> <a class="index-letter" href="elementindex_scripts.html#g">g</a> <a class="index-letter" href="elementindex_scripts.html#k">k</a> <a class="index-letter" href="elementindex_scripts.html#n">n</a> <a class="index-letter" href="elementindex_scripts.html#r">r</a> <a class="index-letter" href="elementindex_scripts.html#s">s</a> <a class="index-letter" href="elementindex_scripts.html#v">v</a> </div> </body> </html> --- NEW FILE: li_quiz.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title></title> <link rel="stylesheet" href="media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="package-title">quiz</div> <div class="package-details"> <dl class="tree"> <dt class="folder-title">Description</dt> <dd> <a href='classtrees_quiz.html' target='right'>Class trees</a><br /> <a href='elementindex_quiz.html' target='right'>Index of elements</a><br /> </dd> <dt class="sub-package"><img class="tree-icon" src="media/images/package.png" alt="Sub-package">Stack</dt> <dd> <dl class="tree"> <dt class="folder-title"><img class="tree-icon" src="media/images/function_folder.png" alt=" ">Functions</dt> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='quiz/Stack/_frontend_general_editquiz_display_php.html#functionstack_display_editquiz_edit' target='right'>stack_display_editquiz_edit</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href='quiz/Stack/_frontend_general_editquiz_display_php.html#functionstack_display_editquiz_error' target='right'>stack_display_editquiz_error</a></dd> <dd><img class="tree-icon" src="media/images/Function.png" alt="Function"><a href=... [truncated message content] |
Update of /cvsroot/stack/stack-1-0/api/documentation/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/documentation/Stack Added Files: _html_help_popup_php.html _html_helpform_php.html _lang_en_doc_about_develop_php.html _lang_en_doc_about_general_php.html _lang_en_doc_about_install_php.html _lang_en_doc_author_answertest_php.html _lang_en_doc_author_commonsyntax_php.html _lang_en_doc_author_factsformula_php.html _lang_en_doc_author_faq_php.html _lang_en_doc_author_gettingstarted_php.html _lang_en_doc_author_maxima_php.html _lang_en_doc_author_options_php.html _lang_en_doc_author_potresp_php.html _lang_en_doc_author_questionfields_php.html _lang_en_doc_author_testsuite_php.html _lang_en_doc_en_doc_php.html _lang_en_doc_student_assessmentmode_php.html _lang_en_doc_student_factsformula_php.html _lang_en_doc_student_forbidden_php.html _lang_en_doc_student_input_php.html _lang_en_doc_student_overview_php.html _lang_en_doc_student_practicemode_php.html _lang_en_doc_student_understandingoutput_php.html _maximadocs_functions_php.html _maximadocs_index_php.html _pics_index_php.html Log Message: Updated API --- NEW FILE: _html_helpform_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page helpform.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/html/helpform.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Adds the local settings to the helpform.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:13 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_student_forbidden_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page student_forbidden.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/student_forbidden.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK: A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:26 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_student_assessmentmode_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page student_assessmentmode.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/student_assessmentmode.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK: A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:26 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_student_understandingoutput_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page student_understandingoutput.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/student_understandingoutput.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK: A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:27 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_student_factsformula_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page student_factsformula.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/student_factsformula.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This file contains standard formulae and hints.</p> <p class="description"><p>These are provided to allow a teacher to use materials and still have a consistent look and feel to standard formulae and results.</p><p>Each of these should be a static LaTeX string.</p><p>This file contains a list of static strings which are used by docuementation.php</p></p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:26 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _html_help_popup_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page help_popup.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/html/help_popup.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generates help files.</p> <p class="description"><p>This file is used in the help popup windows, for individual fields.</p><p>This is used by both the student and teacher.</p></p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_$filename"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$filename</span>) (line <span class="line-number">29</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="___/stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'../stackstd.php'</span>) (line <span class="line-number">25</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/html/htmlstyle_html"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">"{$stack_root}/html/htmlstyle.html"</span>) (line <span class="line-number">31</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_student_input_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../documentation/Stack/_lang_en_doc_student_input_php.html">student_input.php</a></span>) (line <span class="line-number">58</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$filename"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$filename</span>) (line <span class="line-number">81</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_$fn"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$fn</span>) (line <span class="line-number">66</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:13 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_potresp_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_potresp.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_potresp.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Describes the data structure stackQuestionPotResp.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_en_doc_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../documentation/Stack/_lang_en_doc_en_doc_php.html">'en_doc.php'</a></span>) (line <span class="line-number">12</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_about_install_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page about_install.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/about_install.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Details of how to install STACK.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:10 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_answertest_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_answertest.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_answertest.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Describes the implemented answer tests.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_en_doc_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../documentation/Stack/_lang_en_doc_en_doc_php.html">'en_doc.php'</a></span>) (line <span class="line-number">12</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:10 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _pics_index_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page index.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/pics/index.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">A short blurb about the STACK logo!</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="___/stackstd_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'../stackstd.php'</span>) (line <span class="line-number">18</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:14 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _maximadocs_functions_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page functions.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/maximadocs/functions.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Generates a complete list of Maxima functions which are permitted in STACK</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_{$stack_root}/scripts/maxima/maximafun_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">"{$stack_root}/scripts/maxima/maximafun.php"</span>) (line <span class="line-number">23</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">File containing all definitions</p> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:13 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_gettingstarted_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_gettingstarted.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_gettingstarted.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">An authoring guide for STACK questions.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <a name="_$stack_root/scripts/stackAuthor_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"$stack_root/scripts/stackAuthor.php"</span>) (line <span class="line-number">13</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/maxima/maximafun_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/maxima/maximafun.php"</span>) (line <span class="line-number">14</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_html/trypopupform_html"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require</span> (<span class="include-name">'html/trypopupform.html'</span>) (line <span class="line-number">12</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-includes">Includes</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functionstack_doc_dispexample" id="functionstack_doc_dispexample"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_doc_dispexample</span> (line <span class="line-number">24</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Display an example of the stack question</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_doc_dispexample </span> (<span class="var-type">$question</span> <span class="var-name">$question</span>) </div> <ul class="parameters"> <li> <span class="var-type">$question</span> <span class="var-name">$question</span><span class="var-description">: The question to be displayed.</span> </li> </ul> </div> <a name="functionstack_doc_dispstackcommand" id="functionstack_doc_dispstackcommand"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_doc_dispstackcommand</span> (line <span class="line-number">71</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Display, with hyper-linking, the STACK command</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_doc_dispstackcommand </span> (<span class="var-type">string</span> <span class="var-name">$command</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$command</span><span class="var-description">: The command to be displayed</span> </li> </ul> </div> <a name="functionstack_doc_dispstackqfield" id="functionstack_doc_dispstackqfield"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">stack_doc_dispstackqfield</span> (line <span class="line-number">47</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Display, with hyperlinking, the STACK question field name and a link to the help pop-up.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> stack_doc_dispstackqfield </span> (<span class="var-type">string</span> <span class="var-name">$command</span>, [<span class="var-type">string</span> <span class="var-name">$stackhelp</span> = <span class="var-default">'stackQuestion'</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$command</span><span class="var-description">: The command to be displayed</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$stackhelp</span><span class="var-description">: Optional: the help file which contains the field.</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_testsuite_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_testsuite.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_testsuite.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK: A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_options_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_options.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_options.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Describes the data structure stackOption</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_en_doc_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../documentation/Stack/_lang_en_doc_en_doc_php.html">'en_doc.php'</a></span>) (line <span class="line-number">12</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_student_input_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page student_input.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/student_input.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK: A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:26 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_student_practicemode_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page student_practicemode.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/student_practicemode.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK: A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:26 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_en_doc_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page en_doc.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/en_doc.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Describes the data structure stackQuestion</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:13 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_questionfields_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_questionfields.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_questionfields.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Describes the data structure stackQuestion</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_en_doc_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name"><a href="../../documentation/Stack/_lang_en_doc_en_doc_php.html">'en_doc.php'</a></span>) (line <span class="line-number">12</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_maxima_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_maxima.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_maxima.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Index file for the documentation</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_student_overview_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page student_overview.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/student_overview.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">STACK: A system for teaching and assessment using a computer algebra kernel.</p> <p class="description"><p><br /> This file is licensed under the GPL License. <br /> A copy of the license is in your STACK distribution called license.txt. If you are missing this file you can obtain it from: http://www.stack.bham.ac.uk/license.txt <br /> Copyright (c) 2005, Christopher James Sangwin</p></p> <ul class="tags"> <li><span class="field">author:</span> Chris Sangwin C.J...@bh...</li> </ul> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:26 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_about_develop_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page about_develop.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/about_develop.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Details of how to Develop STACK.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:10 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _maximadocs_index_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page index.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/maximadocs/index.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Index file for Maxima's documentation</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="___/stackstd_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">'../stackstd.php'</span>) (line <span class="line-number">18</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/html/htmlstyle_html"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">"{$stack_root}/html/htmlstyle.html"</span>) (line <span class="line-number">20</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:14 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_commonsyntax_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_commonsyntax.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_commonsyntax.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Every CAS system is unique, and they all have different input syntaxs. This file describes some aliases that STACK uses to sort out some of these problems.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <a name="_$stack_root_/scripts/maxima/stackfun_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include</span> (<span class="include-name">$stack_root.'/scripts/maxima/stackfun.php'</span>) (line <span class="line-number">37</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-includes">Includes</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functiondisp_cas" id="functiondisp_cas"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Function.png" /> <span class="method-title">disp_cas</span> (line <span class="line-number">44</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Displays a table of documentation on a type of CAS commands defined in STACK.</p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> disp_cas </span> (<span class="var-type">$type</span> <span class="var-name">$type</span>) </div> <ul class="parameters"> <li> <span class="var-type">$type</span> <span class="var-name">$type</span><span class="var-description">: The type of CAS commands.</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:10 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_factsformula_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_factsformula.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_factsformula.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">A "facts and formula" booklet for STACK questions.</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_$file_name"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name">$file_name</span>) (line <span class="line-number">49</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Uncomment the next two lines to run this as a stand alone file.</p> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_about_general_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page about_general.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/about_general.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">A short blurb about what STACK is.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:10 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _lang_en_doc_author_faq_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page author_faq.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/lang/en/doc/author_faq.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">An authoring guide for STACK questions.</p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> |