Changeset - 00282418d2ef
[Not reviewed]
Merge default
0 1 0
ethanzonca - 15 years ago 2010-09-30 20:03:52

Merge
1 file changed with 12 insertions and 1 deletions:
0 comments (0 inline, 0 general)
class.schedule.php
Show inline comments
 
@@ -35,8 +35,10 @@ class Schedule
 
     */
 
    function __construct($name)
 
    {
 
      $this->classStorage = array();
 
      $this->nclasses = 0;
 
      $this->scheduleName = $name;
 
      $this->storage = array();
 
      $this->title = "SlatePermutate - Scheduler";
 
      $this->section_format = 'numerous';
 
    }
 
@@ -93,7 +95,16 @@ class Schedule
 
	//--------------------------------------------------
 
	function findPossibilities()
 
	{
 
        $this->possiblePermutations = 1;
 
	  $this->possiblePermutations = 1;
 
	  /* special case: there is nothing entered into the schedule and thus there is one, NULL permutation */
 
	  if (!$this->nclasses)
 
	    {
 
	      /* have an empty schedule */
 
	      $this->classStorage[0] = array();
 
	      $this->nPermutations = 1;
 
	      return;
 
	    }
 

	
 
		$position = 0;
 
		$counter = 0;
 

	
0 comments (0 inline, 0 general)