Skip to content

Commit

Permalink
PHP and sql files
Browse files Browse the repository at this point in the history
  • Loading branch information
ridz1208 committed Mar 26, 2018
1 parent 7d345a8 commit 32566b1
Show file tree
Hide file tree
Showing 20 changed files with 1,458 additions and 2,104 deletions.
772 changes: 772 additions & 0 deletions instruments/NDB_BVL_Instrument_aosi.class.inc

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions instruments/NDB_BVL_Instrument_medical_history.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class NDB_BVL_Instrument_medical_history extends NDB_BVL_Instrument
* @return void
* @access public
*/
function setup($commentID, $page)
function setup($commentID = null, $page = null)
{
$this->formType ='XIN';
$this->form = new LorisForm('test_form');
Expand Down Expand Up @@ -278,21 +278,21 @@ class NDB_BVL_Instrument_medical_history extends NDB_BVL_Instrument

// Concussion table headers

$group[] =& $this->form->createElement(
$group[] = $this->form->createElement(
"static",
null,
null,
"Incident"
);

$group[] =& $this->form->createElement(
$group[] = $this->form->createElement(
"static",
null,
null,
"Hospitalized?"
);

$group[] =& $this->form->createElement(
$group[] = $this->form->createElement(
"static",
null,
null,
Expand All @@ -311,7 +311,7 @@ class NDB_BVL_Instrument_medical_history extends NDB_BVL_Instrument

for ($i = 1; $i < 4; $i++) {

$group[] =& $this->createText(
$group[] = $this->createText(
"concussion_" . $i . "_description",
"Incident"
);
Expand All @@ -322,7 +322,7 @@ class NDB_BVL_Instrument_medical_history extends NDB_BVL_Instrument
"Required."
);

$group[] =& $this->createSelect(
$group[] = $this->createSelect(
"concussion_" . $i . "_hospitalized",
"Hospitalized?",
$yesNoOptions
Expand All @@ -334,7 +334,7 @@ class NDB_BVL_Instrument_medical_history extends NDB_BVL_Instrument
"Required."
);

$group[] =& $this->createText(
$group[] = $this->createText(
"concussion_" . $i . "_age",
"Age"
);
Expand Down
Loading

0 comments on commit 32566b1

Please sign in to comment.