]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agodropping gradescale for grade_raw and grade_final table
toyomoyo [Wed, 9 May 2007 05:56:34 +0000 (05:56 +0000)]
dropping gradescale for grade_raw and grade_final table

18 years agoRemoved breaking unit test, originally set up to test xhtml validity throughout the...
nicolasconnault [Wed, 9 May 2007 05:42:06 +0000 (05:42 +0000)]
Removed breaking unit test, originally set up to test xhtml validity throughout the site.

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Wed, 9 May 2007 01:11:45 +0000 (01:11 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Wed, 9 May 2007 00:50:29 +0000 (00:50 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 - Converting tabs to spaces in groups code
poltawski [Wed, 9 May 2007 00:25:51 +0000 (00:25 +0000)]
MDL-9742 - Converting tabs to spaces in groups code

18 years agoMDL-9742 - Converting tabs to spaces in groups code
poltawski [Wed, 9 May 2007 00:06:29 +0000 (00:06 +0000)]
MDL-9742 - Converting tabs to spaces in groups code

18 years agoMDL-9742 - Converting tabs to spaces in groups code
poltawski [Tue, 8 May 2007 23:44:31 +0000 (23:44 +0000)]
MDL-9742 - Converting tabs to spaces in groups code

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Tue, 8 May 2007 23:30:58 +0000 (23:30 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Tue, 8 May 2007 23:19:50 +0000 (23:19 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 Moving tabs to spaces
poltawski [Tue, 8 May 2007 22:50:04 +0000 (22:50 +0000)]
MDL-9742 Moving tabs to spaces

18 years agoadding more validation and a dummy subquestion in MATCH if there is only 2 subquestions.
pichetp [Tue, 8 May 2007 19:19:09 +0000 (19:19 +0000)]
adding more validation and a dummy subquestion in MATCH if there is only 2 subquestions.

18 years agoMDL-9742 Replaced stray tabs with spaces
poltawski [Tue, 8 May 2007 16:25:18 +0000 (16:25 +0000)]
MDL-9742 Replaced stray tabs with spaces

18 years agoMDL-9742 Replaced stray tabs with spaces
poltawski [Tue, 8 May 2007 16:11:58 +0000 (16:11 +0000)]
MDL-9742 Replaced stray tabs with spaces

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Tue, 8 May 2007 15:44:37 +0000 (15:44 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 - changed tabs to spaces in a few places where there are one
poltawski [Tue, 8 May 2007 15:07:25 +0000 (15:07 +0000)]
MDL-9742 - changed tabs to spaces in a few places where there are one
or two

18 years agoMDL-9741: Fixed broken link on editor help page
sam_marshall [Tue, 8 May 2007 14:57:37 +0000 (14:57 +0000)]
MDL-9741: Fixed broken link on editor help page

18 years agoMDL-9700:
thepurpleblob [Tue, 8 May 2007 14:24:13 +0000 (14:24 +0000)]
MDL-9700:
Added more comprehensive checks for missing fields not exported in
previous versions.
More could be done, but this covers the basics and works for 1.6 (and
probably 1.5) exports.

18 years agoMerege from stable. New strings for xml import error messages.
thepurpleblob [Tue, 8 May 2007 14:15:48 +0000 (14:15 +0000)]
Merege from stable. New strings for xml import error messages.

18 years agoFixed some sintactic errors in sequencinglib.php
csantossaenz [Tue, 8 May 2007 12:40:29 +0000 (12:40 +0000)]
Fixed some sintactic errors in sequencinglib.php

18 years agoRemoving tabs and re-indenting as I seem to have vim misconfigured..
poltawski [Tue, 8 May 2007 12:02:29 +0000 (12:02 +0000)]
Removing tabs and re-indenting as I seem to have vim misconfigured..

18 years agoadd cvs id to file
poltawski [Tue, 8 May 2007 11:43:46 +0000 (11:43 +0000)]
add cvs id to file

18 years agoAdding gradebook base class and export plugins. Refactored from old gradebook. Untest...
toyomoyo [Tue, 8 May 2007 08:59:41 +0000 (08:59 +0000)]
Adding gradebook base class and export plugins. Refactored from old gradebook. Untested code.

18 years agoMDL-9506 Stuck on grade_category->generate_grades. I cannot figure out how to recursi...
nicolasconnault [Tue, 8 May 2007 08:01:55 +0000 (08:01 +0000)]
MDL-9506 Stuck on grade_category->generate_grades. I cannot figure out how to recursively generate raw grades for each category's associated grade_item based on that category's children categories and items. Heaps of other changes with this commit, including a new grade_object::update_from_db() method, which uses the state of the record in DB to update the current object with a matching id (useful when you insert an incomplete object in the DB and want to get the default values as set up in the DB).

18 years agoChanged Ojective Rollup Process
csantossaenz [Tue, 8 May 2007 07:38:11 +0000 (07:38 +0000)]
Changed Ojective Rollup Process

18 years agoAdded function to handle exceptions
csantossaenz [Tue, 8 May 2007 07:25:20 +0000 (07:25 +0000)]
Added function to handle exceptions

18 years agoMDL-9506 Issue 1: adjusting a gradeitem's value would result in a grade_final object...
nicolasconnault [Tue, 8 May 2007 02:20:26 +0000 (02:20 +0000)]
MDL-9506 Issue 1: adjusting a gradeitem's value would result in a grade_final object with gradevalue assigned, even when a gradescale should have been assigned. Issue 2: double grade_final entries when calling grade_item->load_final() after grade_item->generate_final(). Issue 3: Calling grade_item->update_final_grade() without first calling grade_item->generate_final() would result in fatal error. generate_final() is now called if the raw and final arrays' sizes don't match.

18 years ago*** empty log message ***
nicolasconnault [Tue, 8 May 2007 01:48:27 +0000 (01:48 +0000)]
*** empty log message ***

18 years agoadded function callbacks for module specific controls to question bank.
jamiesensei [Mon, 7 May 2007 16:57:23 +0000 (16:57 +0000)]
added function callbacks for module specific controls to question bank.

18 years agofixed links on edit icons so that they return to question bank page.
jamiesensei [Mon, 7 May 2007 15:38:02 +0000 (15:38 +0000)]
fixed links on edit icons so that they return to question bank page.

18 years agochanging param type for returnurl to PARAM_LOCALURL
jamiesensei [Mon, 7 May 2007 15:16:07 +0000 (15:16 +0000)]
changing param type for returnurl to PARAM_LOCALURL

18 years agoAdded some manifest data to the scorm_scoes_data table
csantossaenz [Mon, 7 May 2007 12:55:31 +0000 (12:55 +0000)]
Added some manifest data to the scorm_scoes_data table

18 years agoAdded a function to control the rollup process and changed some stored data
csantossaenz [Mon, 7 May 2007 12:15:16 +0000 (12:15 +0000)]
Added a function to control the rollup process and changed some stored data

18 years agoMDL-9731 Adding admin setting for disableuserimages
poltawski [Mon, 7 May 2007 11:40:02 +0000 (11:40 +0000)]
MDL-9731 Adding admin setting for disableuserimages

18 years agoMDL-9726 - fixed phpdoc comment from MartinD's commit
poltawski [Mon, 7 May 2007 08:34:08 +0000 (08:34 +0000)]
MDL-9726 - fixed phpdoc comment from MartinD's commit

18 years agoMDL-9506 Added category's associated grade_item object, and changed unit tests databa...
nicolasconnault [Mon, 7 May 2007 07:33:11 +0000 (07:33 +0000)]
MDL-9506 Added category's associated grade_item object, and changed unit tests database data so that it creates its own test tables.

18 years agoremoved all session fromurl and returnurl stuff from question bank editing code....
jamiesensei [Mon, 7 May 2007 07:13:14 +0000 (07:13 +0000)]
removed all session fromurl and returnurl stuff from question bank editing code. Returnurls are now passed as get/post params.

18 years agofixed error in import.php category object fetching logic
jamiesensei [Mon, 7 May 2007 07:08:41 +0000 (07:08 +0000)]
fixed error in import.php category object fetching logic

18 years agoreturn to the proper page after editing a question in the question bank.
jamiesensei [Mon, 7 May 2007 06:35:33 +0000 (06:35 +0000)]
return to the proper page after editing a question in the question bank.

18 years agooops. Accidentally committed a change in default no of category items displayed which...
jamiesensei [Mon, 7 May 2007 05:57:49 +0000 (05:57 +0000)]
oops. Accidentally committed a change in default no of category items displayed which I'd changed for debug purposes. Reverting change.

18 years agopass the category list page param from page to page in question bank editing pages.
jamiesensei [Mon, 7 May 2007 05:53:20 +0000 (05:53 +0000)]
pass the category list page param from page to page in question bank editing pages.

18 years agoalways make sure that page param is in the pageurl
jamiesensei [Mon, 7 May 2007 05:30:06 +0000 (05:30 +0000)]
always make sure that page param is in the pageurl

18 years agoadded argument to constructor to specify the name of the page parameter used to pass...
jamiesensei [Mon, 7 May 2007 05:25:44 +0000 (05:25 +0000)]
added argument to constructor to specify the name of the page parameter used to pass the page no of the list. Default to 'page'

18 years agorequire_login is in 'question_edit_setup' we don't need to call it again here.
jamiesensei [Mon, 7 May 2007 05:12:09 +0000 (05:12 +0000)]
require_login is in 'question_edit_setup' we don't need to call it again here.

18 years agomerged fix for MLD-9727, capability typo
toyomoyo [Mon, 7 May 2007 05:00:22 +0000 (05:00 +0000)]
merged fix for MLD-9727, capability typo

18 years agochanges to pass category id from page to page in question bank editing.
jamiesensei [Mon, 7 May 2007 04:55:55 +0000 (04:55 +0000)]
changes to pass category id from page to page in question bank editing.

18 years agoadding calculated question import MDL-5650
pichetp [Mon, 7 May 2007 04:01:20 +0000 (04:01 +0000)]
adding calculated question import MDL-5650

18 years agomerged fix for MDL-9656, blocks parents can be system context
toyomoyo [Mon, 7 May 2007 03:24:22 +0000 (03:24 +0000)]
merged fix for MDL-9656, blocks parents can be system context

18 years agoMerged changes for better performance in cases where there are lots of enrolment...
moodler [Mon, 7 May 2007 03:10:22 +0000 (03:10 +0000)]
Merged changes for better performance in cases where there are lots of enrolment plugins  MDL-9726

18 years agomodified "hpNewFunction" to allow Rottmeier quizze (Find-It, Dropdown) s to run on...
gbateson [Mon, 7 May 2007 02:49:56 +0000 (02:49 +0000)]
modified "hpNewFunction" to allow Rottmeier quizze (Find-It, Dropdown) s to run on Safari (Mac)

18 years agoMDL-9506 Removed implicit loading of associated objects from constructors (grade_item...
nicolasconnault [Mon, 7 May 2007 02:04:06 +0000 (02:04 +0000)]
MDL-9506 Removed implicit loading of associated objects from constructors (grade_item and grade_grades_raw) to avoid very large numbers of sql queries when only little data is required. The load_scale() method, for example, needs to be called explicitly.

18 years agoMDL-9617: Fixed bug in previous commits.
mattc-catalyst [Sun, 6 May 2007 23:19:32 +0000 (23:19 +0000)]
MDL-9617: Fixed bug in previous commits.

- warnings being displayed in developer mode.
- caused by patch from patch series not being applied.

18 years agoMDL-8917 - slasharguemtns description slightly incorrect
poltawski [Sun, 6 May 2007 10:28:29 +0000 (10:28 +0000)]
MDL-8917 - slasharguemtns description slightly incorrect

18 years agoMDL-8356 - fixed typo
poltawski [Sun, 6 May 2007 09:57:33 +0000 (09:57 +0000)]
MDL-8356 - fixed typo

18 years agoMDL-8971 - fixed typo
poltawski [Sun, 6 May 2007 09:45:21 +0000 (09:45 +0000)]
MDL-8971 - fixed typo

18 years agoget_my_courses() - ensure we have groupmode, groupmodeforce in $d_fields - calendar...
martinlanghoff [Sun, 6 May 2007 05:37:28 +0000 (05:37 +0000)]
get_my_courses() - ensure we have groupmode, groupmodeforce in $d_fields - calendar/lib.php counts on it

18 years agoget_my_courses() callers update - check of the $fields param - pass null instead
martinlanghoff [Sun, 6 May 2007 05:32:40 +0000 (05:32 +0000)]
get_my_courses() callers update - check of the $fields param - pass null instead

The default way to call get_my_courses() is now to pass null in the $fields
param to get the (cached copy) of the useful fields. Cuts down enormously
on DB traffic, memory footprint, and session size.

18 years agoget_my_courses() - added optimisation for guest login
martinlanghoff [Sun, 6 May 2007 05:28:39 +0000 (05:28 +0000)]
get_my_courses() - added optimisation for guest login

- was causing very slow page generation

18 years agoget_my_courses() - tighten default fields - faster, risky
martinlanghoff [Sun, 6 May 2007 05:27:31 +0000 (05:27 +0000)]
get_my_courses() - tighten default fields - faster, risky

This makes get_my_courses() faster/lighter in 2 ways

 - We fetch a ton less data from the DB
 - We store a tone less data in the Session

In a test environment, with a student enrolled in  3 _empty_ courses
(just created, empty modinfo, etc), this shaves 50% off the session
size on-disk.

The problem is callers that may be expecting a given field to appear by
default. Next step: walk all callers...

18 years agoget_my_courses() - skip checks if we know the user has moodle/site:doanything and...
martinlanghoff [Sun, 6 May 2007 05:26:59 +0000 (05:26 +0000)]
get_my_courses() - skip checks if we know the user has moodle/site:doanything and we are observing $doanything

Author: Martin Langhoff <martin@catalyst.net.nz>

18 years agoget_my_courses(): tighten cache scheme - part 2
martinlanghoff [Sun, 6 May 2007 05:26:04 +0000 (05:26 +0000)]
get_my_courses(): tighten cache scheme - part 2

the tighter cache was fragile as we always edit $field

18 years agoget_my_courses(): tighten cache scheme
martinlanghoff [Sun, 6 May 2007 05:22:03 +0000 (05:22 +0000)]
get_my_courses(): tighten cache scheme

This tightens the rather lax caching mechanism that
cached regardless of parameters.

Thanks to Matt Clarkson for the heads-up...

18 years agoAutomatic installer.php lang files by installer_builder (20070506)
moodler [Sun, 6 May 2007 04:50:49 +0000 (04:50 +0000)]
Automatic installer.php lang files by installer_builder (20070506)

18 years agocalendar: fixed group event display when only one course being viewed
martinlanghoff [Sun, 6 May 2007 04:38:24 +0000 (04:38 +0000)]
calendar: fixed group event display when only one course being viewed

Author: Matt Clarkson <mattc@catalyst.net.nz>

18 years agocalendar: bug fixed to previous commit (MDL-7416 MDL-9617)
martinlanghoff [Sun, 6 May 2007 04:37:38 +0000 (04:37 +0000)]
calendar: bug fixed to previous commit (MDL-7416 MDL-9617)

Author: Matt Clarkson <mattc@catalyst.net.nz>

18 years agocalendar: performance optimisations + behaviour fix (MDL-7416 MDL-9617)
martinlanghoff [Sun, 6 May 2007 04:28:11 +0000 (04:28 +0000)]
calendar: performance optimisations + behaviour fix (MDL-7416 MDL-9617)

With 2500 courses the calendar was causing around 15000 queries at login and 5000 on the home page.

- Replaced queries inside loops with single unlooped queries.
- Fixed calendar so that course events will show when the users role is assigned at a category level.
- Moved calendar_session_vars() function call out of calendar/lib.php (including a lib should not have side effects)

Author: Matt Clarkson - with some conflict resolution from MartinL

18 years agoFixed MDL-9639 and syntax error, merged from 18_STABLE
poltawski [Sat, 5 May 2007 15:16:39 +0000 (15:16 +0000)]
Fixed MDL-9639 and syntax error, merged from 18_STABLE

18 years agoMDL-9675:
thepurpleblob [Sat, 5 May 2007 14:44:12 +0000 (14:44 +0000)]
MDL-9675:
Default value added for 'answernumbering'. Default is 'abc'

18 years agoCall theme_setup() after change so new theme displays correctly
ikawhero [Sat, 5 May 2007 07:43:08 +0000 (07:43 +0000)]
Call theme_setup() after change so new theme displays correctly

18 years agoFixed hard coded string
thepurpleblob [Fri, 4 May 2007 14:31:56 +0000 (14:31 +0000)]
Fixed hard coded string

18 years agoFix a hard coded string
thepurpleblob [Fri, 4 May 2007 14:10:56 +0000 (14:10 +0000)]
Fix a hard coded string

18 years agoMade some changes on scorm_seq_overall
csantossaenz [Fri, 4 May 2007 12:27:49 +0000 (12:27 +0000)]
Made some changes on scorm_seq_overall

18 years agoFixed some problems with the variables stored in scorm_scoes_track and the last two...
csantossaenz [Fri, 4 May 2007 11:17:15 +0000 (11:17 +0000)]
Fixed some problems with the variables stored in scorm_scoes_track and the last two functions have been commented and we are going to use scorm_seq_is() instead of them.

18 years agoremoved more session stuff from question list and category form in question bank...
jamiesensei [Fri, 4 May 2007 10:46:33 +0000 (10:46 +0000)]
removed more session stuff from question list and category form in question bank display code

18 years agoMatching qestion type was failing to correctly determine wheterh the student had...
tjhunt [Fri, 4 May 2007 10:04:20 +0000 (10:04 +0000)]
Matching qestion type was failing to correctly determine wheterh the student had changed their answer - further improvements. Merged from MOODLE_18_STABLE.

18 years agoMDL-9506 Fixed some small issues.
nicolasconnault [Fri, 4 May 2007 09:04:40 +0000 (09:04 +0000)]
MDL-9506 Fixed some small issues.

18 years agotightening up reg expressions used for submitted data a bit
jamiesensei [Fri, 4 May 2007 08:33:28 +0000 (08:33 +0000)]
tightening up reg expressions used for submitted data a bit

18 years agopatch for bug when you connect from authentication block on main page
jgutierr25 [Fri, 4 May 2007 08:06:40 +0000 (08:06 +0000)]
patch for bug when you connect from authentication block on main page

18 years agoChanged some data from scorm_scoes_track to scorm_scoes_data
csantossaenz [Fri, 4 May 2007 07:46:15 +0000 (07:46 +0000)]
Changed some data from scorm_scoes_track to scorm_scoes_data

18 years agoMDL-9506 Moved unit tests in a simpletest subfolder so they can be automatically...
nicolasconnault [Fri, 4 May 2007 07:40:51 +0000 (07:40 +0000)]
MDL-9506 Moved unit tests in a simpletest subfolder so they can be automatically grouped. Added grade_history and grade_text object and another heap of small implementations.

18 years agoadding a missing feedbackformat field
toyomoyo [Fri, 4 May 2007 07:35:54 +0000 (07:35 +0000)]
adding a missing feedbackformat field

18 years agoremoving TODO comment as the question.php script no longer treats quiz as special.
jamiesensei [Fri, 4 May 2007 06:09:37 +0000 (06:09 +0000)]
removing TODO comment as the question.php script no longer treats quiz as special.

18 years agoremoved global var declaration for var that wasn't used in function
jamiesensei [Fri, 4 May 2007 05:51:59 +0000 (05:51 +0000)]
removed global var declaration for var that wasn't used in function

18 years agopassing cmid to question.php and removed use of session modform var. Question.php...
jamiesensei [Fri, 4 May 2007 05:47:59 +0000 (05:47 +0000)]
passing cmid to question.php and removed use of session modform var. Question.php now independent of quiz module. Small improvement to displayed breadcrumbs.

18 years agoadded a param to moodle_url constructor to provide params as an array just as a conve...
jamiesensei [Fri, 4 May 2007 05:45:33 +0000 (05:45 +0000)]
added a param to moodle_url constructor to provide params as an array just as a convenience to quickly construct a url with an array of params.

18 years agodeleted redundant method which was just calling the parent method.
jamiesensei [Fri, 4 May 2007 05:30:03 +0000 (05:30 +0000)]
deleted redundant method which was just calling the parent method.

18 years agomerged fix for MDL-9617, performance issues in calendar
toyomoyo [Fri, 4 May 2007 05:25:49 +0000 (05:25 +0000)]
merged fix for MDL-9617, performance issues in calendar

18 years agoremove duplicate id attribute from body tag; microincrement version to 2007040200...
gbateson [Fri, 4 May 2007 02:53:52 +0000 (02:53 +0000)]
remove duplicate id attribute from body tag; microincrement version to 2007040200 (release 2.4.2)

18 years agoMDL-9506 Reorganised the gradebook unit tests into more manageable classes.
nicolasconnault [Fri, 4 May 2007 02:31:16 +0000 (02:31 +0000)]
MDL-9506 Reorganised the gradebook unit tests into more manageable classes.

18 years agoMDL-9510, cron job support of legacy grade functions in modules. Implementation is...
toyomoyo [Fri, 4 May 2007 02:15:46 +0000 (02:15 +0000)]
MDL-9510, cron job support of legacy grade functions in modules. Implementation is not finished as the gradebook grade_added event is not complete

18 years agoAdded some functions for the Sequencing and Navigation task for SCOMR 2004 compliance...
csantossaenz [Thu, 3 May 2007 12:55:22 +0000 (12:55 +0000)]
Added some functions for the Sequencing and Navigation task for SCOMR 2004 compliance. This is a work-in-progress file

18 years agoAdded auxiliar functions for sequencinglib.php
csantossaenz [Thu, 3 May 2007 12:52:11 +0000 (12:52 +0000)]
Added auxiliar functions for sequencinglib.php

18 years agoremoved use of session for reordertool and show page breaks. Reordertool and show...
jamiesensei [Thu, 3 May 2007 10:38:35 +0000 (10:38 +0000)]
removed use of session for reordertool and show page breaks. Reordertool and show page breaks params are now passed from page request to page request only for page requests for quiz/edit.php

18 years agomoved question sort order and paging params to be passed from page to page as get...
jamiesensei [Thu, 3 May 2007 10:10:01 +0000 (10:10 +0000)]
moved question sort order and paging params to be passed from page to page as get params instead of being saved in session var.

18 years agochange to print_paging_bar function to optionally support the use of a moodle_url...
jamiesensei [Thu, 3 May 2007 10:03:59 +0000 (10:03 +0000)]
change to print_paging_bar function to optionally support the use of a moodle_url object as a parameter instead of a string.

small changes to moodle_url class

18 years agoMDL-9506 Added grade_outcome.php. Also added unit test for creation of log in history...
nicolasconnault [Thu, 3 May 2007 08:51:48 +0000 (08:51 +0000)]
MDL-9506 Added grade_outcome.php. Also added unit test for creation of log in history table when grade_raw is updated.

18 years agoMDL-9506 See previous revision. This adds same functionality but in relation to the...
nicolasconnault [Thu, 3 May 2007 08:08:38 +0000 (08:08 +0000)]
MDL-9506 See previous revision. This adds same functionality but in relation to the hidden field.

18 years agoMDL-9506 Added grade_item::toggle_locking and unit tests. Affects all final grades...
nicolasconnault [Thu, 3 May 2007 08:02:51 +0000 (08:02 +0000)]
MDL-9506 Added grade_item::toggle_locking and unit tests. Affects all final grades if reqested.

18 years agoConfig setting for the theme order priorities.
ikawhero [Thu, 3 May 2007 07:39:27 +0000 (07:39 +0000)]
Config setting for the theme order priorities.

18 years agoNew mimetype for Inspiration application.
ikawhero [Thu, 3 May 2007 07:15:30 +0000 (07:15 +0000)]
New mimetype for Inspiration application.
Icon and code patch from Julian Ridden.

18 years agoMDL-9506 Upgraded grade_item::adjust_grade with Darlene's more elegant formula. Compl...
nicolasconnault [Thu, 3 May 2007 07:10:22 +0000 (07:10 +0000)]
MDL-9506 Upgraded grade_item::adjust_grade with Darlene's more elegant formula. Completed grade_category::get_children($depth, $arraytype). Added 4 constants to help that method. Added and passed all unit tests (111 now).