Changeset - adc4ddfd8a02
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2010-12-02 23:21:50
ohnobinki@ohnopublishing.net
Add Semester::seasons_get_all() so that other code can enumerate all valid seasons.
1 file changed with 9 insertions and 0 deletions:
0 comments (0 inline, 0 general)
inc/class.semester.inc
Show inline comments
 
@@ -173,4 +173,13 @@ class Semester
 
  {
 
    return $this->season;
 
  }
 

	
 
  /**
 
   * \brief
 
   *   Enumerate all valid seasons.
 
   */
 
  public static function seasons_get_all()
 
  {
 
    return array(SEASON_SPRING, SEASON_FALL);
 
  }
 
}
0 comments (0 inline, 0 general)