--- loncom/html/adm/help/ext_examples.library 2006/02/28 23:03:23 1.2 +++ loncom/html/adm/help/ext_examples.library 2014/02/26 15:41:38 1.3 @@ -1,14 +1,14 @@ - + Some things to do with &EXT()
- + - + - + @@ -16,37 +16,37 @@ Some things to do with &EXT()
- + - + - + - + - + - + - + - +
IncantationresultExplanation
IncantationResultExplanation
request.filename&EXT('request.filename') full internal path of the current resource
request.uri&EXT('request.uri')Uri of the currently viewed resource
URI of the currently viewed resource
request.state&EXT('request.state')state of the resource, eith construct or publish
state of the resource, either: construct or published
user.name&EXT('user.name') username of user
user.domain&EXT('user.domain')
user.course.sec&EXT('user.course.sec') Users's Course Section
environment.firstname&EXT('environment.firstname')User's firstname
User's first name
environment.middlename&EXT('environment.middlename') User's middle name
environment.lastname&EXT('environment.lastname')User's lastname
User's last name
environment.generation&EXT('environment.generation') Jr., Sr., III, etc.
environment.screenname&EXT('environment.screenname')User screen name (name that appears in FDBK postings)
User's screen name (name that appears in discussion postings)
environment.nickname&EXT('environment.nickname')User nick name. (Name the user prefers to be called in person
User's nickname. (Name the user prefers to be called in person)
environment.id&EXT('environment.id')user id number
User's student/employee ID number
request.browser.version&EXT('request.browser.version')Version of the users Browser
Version of the user's browser
request.browser.type&EXT('request.browser.type') What type of browser is the user using
course.description&EXT('course.decription')Decriptive name for a course
Descriptive name for a course
course.num&EXT('course.num') Internal Course Identifier
course.url&EXT('course.url') Current course toplevel map.
query.*query.* allows access to the passed in form parameters
query.* allows access to ny passed-in form parameters
query.grade_target&EXT('query.grade_target') Ignore this. It isn't generally useful.
Other things: - + @@ -61,21 +61,21 @@ Other things:
IncantationresultExplanation
IncantationResultExplanation
$external::target $external::target Whether we are printing (tex) or viewing on screen (web)
The current status of the problem - + - +
CLOSEDeither before opendate or between due and answer date
either before opendate or between duedate and answerdate
CAN_ANSWER
CANNOT_ANSWERstill open but either exhausted tries has the problem correct or has been excused
still open but either exhausted tries, has the problem correct, or has been excused
SHOW_ANSWER after answerdate
and some rare states that if they occur the problem isn't shown (you can safely ignore these): - + - + - +
NOT_YET_VIEWEDlimited view period being used and student hasn't 'checked out' the problem yet
limited view period being used and student hasn't "checked out" the problem yet
INVALID_ACCESSip restrictions in effect and user is at a banned IP
IP restrictions in effect, and user's IP address is not allowed access
UNAVAILABLEnetwork problems are occuring
network problems are occurring
$external::randomseed