11
11
* @link https://www.github.com/aces/Loris-Trunk/
12
12
*/
13
13
namespace Loris \Behavioural ;
14
- use \LORIS \Data \ Dictionary \DictionaryItem ;
14
+ use \LORIS \instruments \DictionaryItem ;
15
15
use \LORIS \Data \Scope ;
16
16
use \LORIS \Data \Cardinality ;
17
17
@@ -500,6 +500,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
500
500
$ scope ,
501
501
new \LORIS \Data \Types \DateType (),
502
502
new Cardinality (Cardinality::SINGLE ),
503
+ 'Date_taken ' ,
503
504
),
504
505
]
505
506
);
@@ -514,6 +515,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
514
515
$ scope ,
515
516
new \LORIS \Data \Types \Duration (),
516
517
new Cardinality (Cardinality::SINGLE ),
518
+ 'Candidate_Age ' ,
517
519
),
518
520
]
519
521
);
@@ -527,6 +529,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
527
529
$ scope ,
528
530
new \LORIS \Data \Types \Duration (),
529
531
new Cardinality (Cardinality::SINGLE ),
532
+ 'Candidate_Age ' ,
530
533
),
531
534
]
532
535
);
@@ -540,6 +543,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
540
543
$ scope ,
541
544
new \LORIS \Data \Types \Duration (),
542
545
new Cardinality (Cardinality::SINGLE ),
546
+ 'Window_Difference ' ,
543
547
),
544
548
]
545
549
);
@@ -556,6 +560,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
556
560
// array if CommentID is not set.
557
561
new StringType (255 ),
558
562
new Cardinality (Cardinality::SINGLE ),
563
+ 'Examiner ' ,
559
564
),
560
565
]
561
566
);
@@ -616,6 +621,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
616
621
$ scope ,
617
622
new StringType (255 ),
618
623
new Cardinality (Cardinality::SINGLE ),
624
+ $ pieces [1 ],
619
625
);
620
626
if ($ firstFieldOfPage ) {
621
627
$ this ->_requiredElements [] = $ fieldname ;
@@ -641,6 +647,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
641
647
$ scope ,
642
648
new StringType (),
643
649
new Cardinality (Cardinality::SINGLE ),
650
+ $ pieces [1 ],
644
651
);
645
652
if ($ firstFieldOfPage ) {
646
653
$ this ->_requiredElements [] = $ fieldname ;
@@ -669,6 +676,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
669
676
$ scope ,
670
677
new DateType (),
671
678
new Cardinality (Cardinality::SINGLE ),
679
+ $ pieces [1 ],
672
680
);
673
681
// Set date format
674
682
$ dateFormat = isset ($ pieces [5 ]) ? trim ($ pieces [5 ]) : "" ;
@@ -741,6 +749,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
741
749
$ scope ,
742
750
new IntegerType (),
743
751
new Cardinality (Cardinality::SINGLE ),
752
+ $ pieces [1 ],
744
753
);
745
754
}
746
755
if ($ firstFieldOfPage ) {
@@ -844,6 +853,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
844
853
$ scope ,
845
854
$ t ,
846
855
$ cardinality ,
856
+ $ pieces [1 ],
847
857
);
848
858
$ this ->dictionary [] = $ it ;
849
859
$ this ->LinstQuestions [$ pieces [1 ]] = ['type ' => 'select ' ];
@@ -881,7 +891,8 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
881
891
$ pieces [2 ],
882
892
$ scope ,
883
893
new StringType (255 ),
884
- new Cardinality (Cardinality::SINGLE )
894
+ new Cardinality (Cardinality::SINGLE ),
895
+ $ pieces [1 ],
885
896
);
886
897
}
887
898
break ;
0 commit comments