Showing 5,014 of 7,620 total issues
Method getModalPreset
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getModalPreset($Info = '', $ViewType = TblWorkSpace::VIEW_TYPE_ALL)
{
$tblPresetList = Individual::useService()->getPresetAll();
$TableContent = array();
Method getModalSavePreset
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getModalSavePreset($Info = '', $ViewType = TblWorkSpace::VIEW_TYPE_ALL)
{
$Global = $this->getGlobal();
$Post = $Global->POST;
Method getHeadForDiploma
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function getHeadForDiploma($IsSample, $showPicture)
{
if ($showPicture) {
$pictureAddress = '';
Method formSupport
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function formSupport($PersonId, $SupportId = null)
{
$Global = $this->getGlobal();
if($SupportId != null && !isset($Global->POST['Data']['Date'])){
Method getSupportTable
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getSupportTable(TblPerson $tblPerson, $hasEdit = true)
{
$tblSupportList = Student::useService()->getSupportByPerson($tblPerson);
$TableContent = array();
Method loadSimilarPersonContent
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function loadSimilarPersonContent($Person)
{
if ((!isset($Person['FirstName']) || empty($Person['FirstName']))
|| (!isset($Person['LastName']) || empty($Person['LastName']))
) {
Method setTableContentForAppointedDateTask
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setTableContentForAppointedDateTask(
TblDivision $tblDivision,
TblTest $tblTest,
TblSubject $tblSubject,
TblPerson $tblPerson,
Method getAutoDroppedSubjects
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getAutoDroppedSubjects(TblPerson $tblPerson, TblDivision $tblCurrentDivision)
{
$subjectList = array();
$tblLastDivision = false;
Method updatePrepareBehaviorGrades
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updatePrepareBehaviorGrades(
IFormInterface $Stage = null,
TblPrepareCertificate $tblPrepare,
TblGroup $tblGroup = null,
TblGradeType $tblGradeType,
Method getResultForAbiturBlockII
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getResultForAbiturBlockII(
TblPrepareCertificate $tblPrepareCertificate,
TblPerson $tblPerson
) {
Method setTableContentForAppointedDateTask
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setTableContentForAppointedDateTask(
TblDivision $tblDivision,
TblTest $tblTest,
TblSubject $tblSubject,
TblPerson $tblPerson,
Method createCertificateSetting
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createCertificateSetting(
IFormInterface $Form,
TblCertificate $tblCertificate,
$GradeList,
$SubjectList
Method setupDatabaseContent
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function setupDatabaseContent()
{
// Schülerkartei - Grundschule
if (($tblSchoolType = Type::useService()->getTypeByName('Grundschule'))) {
Method frontendCreatePeriod
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendCreatePeriod($Period = null)
{
$Stage = new Stage('Zeitraum', 'Übersicht');
$Stage->addButton(new Standard('Zurück', '/Education/Lesson/Term', new ChevronLeft()));
File Frontend.php
has 276 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Setting\Consumer\SponsorAssociation;
use SPHERE\Application\Contact\Address\Address;
use SPHERE\Application\Corporation\Company\Company;
Method downloadZip
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function downloadZip($PrepareId = null, $Name = 'Zeugnis')
{
if (($tblPrepare = Prepare::useService()->getPrepareById($PrepareId))
&& ($tblDivision = $tblPrepare->getServiceTblDivision())
Method loadNameDefinition
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function loadNameDefinition()
{
// S1
$this->setNameDefinition(self::TBL_SALUTATION_SALUTATION_BEV, 'Bev: Anrede');
Method createCsv
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createCsv($DivisionId = '')
{
$PersonList = array();
Method getResultForAbiturAverageGrade
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getResultForAbiturAverageGrade(
$totalPoints
) {
// ist Formel korrekt?
Method frontendHeadmasterSelectDivision
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendHeadmasterSelectDivision($IsAllYears = false, $YearId = null)
{
$Stage = new Stage('Noteninformation', 'Klasse auswählen');
$hasHeadmasterRight = Access::useService()->hasAuthorization('/Education/Certificate/GradeInformation/Headmaster');