</th> <th><?php echo __('1°B'); ?> </th> <th><?php echo __('2°B'); ?> </th> </tr> <tr> <?php foreach ($periods as $period) { ?> <td><?php echo StudentDisciplinarySanctionPeer::countStudentDisciplinarySanctionsForPeriod($student, $division->getSchoolYear(), $period); ?> </td> <?php } ?> </tr> </table> </div> <?php } ?> </div> <?php include_partial('signature_boxes');
public function countStudentDisciplinarySanctionsForSchoolYear($school_year = null) { return StudentDisciplinarySanctionPeer::countStudentDisciplinarySanctionsForPeriod($this, $school_year); }