| [ PHPXref.com ] | [ Generated: Sun Jul 20 17:52:21 2008 ] | [ Focus/SIS 1.0 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <? 2 /** 3 * @file miscExport.fnc.php 2006-04-17 andrew $ 4 * @package Focus/SIS 5 * @copyright Copyright (C) 2006 Andrew Schmadeke. All rights reserved. 6 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt 7 * Focus/SIS is free software. This version may have been modified pursuant 8 * to the GNU General Public License, and as distributed it includes or 9 * is derivative of works licensed under the GNU General Public License or 10 * other free or open source software licenses. 11 * See COPYRIGHT.txt for copyright notices and details. 12 */ 13 14 function _makeNextSchool($value,$column) 15 { global $THIS_RET,$_FOCUS; 16 17 if($value=='0') 18 return 'Retain'; 19 elseif($value=='-1') 20 return 'Do not enroll after this school year'; 21 elseif($value==$THIS_RET['SCHOOL_ID']) 22 return 'Next Grade at '.GetSchool($value); 23 else 24 return GetSchool($value); 25 } 26 27 function _makeCalendar($value,$column) 28 { global $THIS_RET,$_FOCUS,$calendars_RET; 29 30 if(!$calendars_RET) 31 $calendars_RET = DBGet(DBQuery("SELECT CALENDAR_ID,DEFAULT_CALENDAR,TITLE FROM ATTENDANCE_CALENDARS WHERE SYEAR='".UserSyear()."'"),array(),array('CALENDAR_ID')); 32 33 return $calendars_RET[$value][1]['TITLE']; 34 } 35 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |