public static function schoolYearId($grad = null) {
		static::loadData();
		if($grad == null) {
			$grad = static::schoolYear();
		}
		foreach(static::$arrDBCalendar as $sy) {
			if(date('Y',$sy['end']) == $grad) return $sy['id'];
		}
		return false;
	}
public static function schoolYearId($grad = null) {
		static::loadData();
		if($grad == null) {
			$grad = static::schoolYear();
		}
		foreach(static::$arrDBCalendar as $sy) {
			if(date('Y',$sy['end']) == $grad) return $sy['id'];
		}
		return false;
	}
public static function schoolYearId ( $ grad = null ) { static :: loadData ( ) ; if ( $ grad == null ) { $ grad = static :: schoolYear ( ) ; } foreach ( static :: $ arrDBCalendar as $ sy ) { if ( date ( 'Y' , $ sy [ 'end' ] ) == $ grad ) return $ sy [ 'id' ] ; } return false ; }
Get id of current school year
@param int $grad
@return int
Get id of current school year