Changeset - 4b67cd715f51
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2011-03-18 19:12:42
ohnobinki@ohnopublishing.net
Remove schedule::section_format which was originally intended for use when section identifiers, such as the A in CS-101-A, used to be entered with a dropdown menu instead of a textfield.
1 file changed with 0 insertions and 7 deletions:
0 comments (0 inline, 0 general)
inc/class.schedule.php
Show inline comments
 
@@ -51,42 +51,35 @@ class Schedule
 
  private $nPermutations = 0;		// Integer number of real permutations
 
  private $possiblePermutations;	// Integer number of possible permutations
 
  private $scheduleName;			// String name of schedule
 
  private $storage;				// Integer array of valid schedules
 
  private $title;
 

	
 
  /**
 
   * \brief
 
   *   My global identification number. Not defined until the schedule
 
   *   is processed and first saved.
 
   */
 
  private $id;
 
  /**
 
   * The input format of the sections. Only used for the UI. Valid
 
   * values are 'numerous' for custom, 'numbered' for numeric, and 'lettered' for
 
   * alphabetical.
 
   */
 
  public $section_format;
 

	
 
  /**
 
   * \brief
 
   *   Create a schedule with the given name.
 
   */
 
  function __construct($name)
 
  {
 
    $this->courses = array();
 
    $this->scheduleName = $name;
 
    $this->storage = array();
 
    $this->title = "SlatePermutate - Scheduler";
 
    $this->section_format = 'numerous';
 

	
 
    /* mark this as an upgraded Schedule class. See __wakeup() */
 
    $this->nclasses = -1;
 
  }
 

	
 
  //--------------------------------------------------
 
  // Mutators and Accessors
 
  //--------------------------------------------------
 
  public function getName()
 
  {
 
    return $this->scheduleName;
 
  }    
0 comments (0 inline, 0 general)