Showing 5,014 of 7,620 total issues
Method frontendUpdateGroupImport
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendUpdateGroupImport($File = null)
{
$View = new Stage('Import Dresden', 'Personen/Institutionen-Gruppen-Daten');
$View->setContent(
Method registerModule
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function registerModule()
{
/**
* Register Module
Method getSupportForReportingByPerson
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getSupportForReportingByPerson(TblPerson $tblPerson)
{
$tblSupport = false;
if (($tblSupportType = Student::useService()->getSupportTypeByName('Förderbescheid'))
&& ($tblSupportList = Student::useService()->getSupportAllByPersonAndSupportType($tblPerson, $tblSupportType))
Method createGroup
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createGroup(IFormInterface $Form = null, $Group)
{
/**
* Skip to Frontend
Method updateGroup
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateGroup(IFormInterface $Form = null, TblGroup $tblGroup, $Group)
{
/**
* Skip to Frontend
Method getCurrentMainDivisionByPerson
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getCurrentMainDivisionByPerson(TblPerson $tblPerson)
{
if (Group::useService()->existsGroupPerson(Group::useService()->getGroupByMetaTable('STUDENT'),
$tblPerson)
Method setTableTask
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setTableTask(Schema &$Schema, Table $tblTestType)
{
$Table = $this->getConnection()->createTable($Schema, 'tblTask');
if (!$this->getConnection()->hasColumn('tblTask', 'Name')) {
Method getTestListForPlanning
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getTestListForPlanning($tblDivisionList, TblGradeType $tblGradeType = null, $isHighlighted = false)
{
$result = array();
$tblGradeTypeList = array();
Method getTeacherContent
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function getTeacherContent($PersonId = null)
{
if (($tblPerson = Person::useService()->getPersonById($PersonId))
&& ($tblGroup = Group::useService()->getGroupByMetaTable('TEACHER'))
&& Group::useService()->existsGroupPerson($tblGroup, $tblPerson)
Method createGrade
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createGrade(
TblPerson $tblPerson,
TblPerson $tblPersonTeacher = null,
TblDivision $tblDivision,
TblSubject $tblSubject,
Method getForm
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getForm()
{
$form = new Form(array(
new FormGroup(array(
Method formAbsence
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function formAbsence()
{
return new Form(new FormGroup(array(
new FormRow(array(
Method formLinkSubject
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function formLinkSubject(TblCategory $tblCategory = null)
{
$tblSubjectAllSelected = $tblCategory->getTblSubjectAll();
if ($tblSubjectAllSelected) {
Method getCourses
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getCourses(TblPerson $tblPerson, TblDivision $tblDivision, $advancedCourses, $basicCourses)
{
if (($tblDivisionSubjectList = Division::useService()->getDivisionSubjectByDivision($tblDivision))) {
foreach ($tblDivisionSubjectList as $tblDivisionSubjectItem) {
Method frontendEditYear
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendEditYear($Id = null, $Year = null)
{
$Stage = new Stage('Schuljahr', 'Bearbeiten');
$Stage->addButton(new Standard('Zurück', '/Education/Lesson/Term/Create/Year', new ChevronLeft()));
Method findBy
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function findBy($PropertySearch)
{
Debugger::screenDump($PropertySearch);
if (isset( $PropertySearch[$this->getCriteriaName()] )) {
Method getRequest
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getRequest($UrlRequestList, $CurlOptionList = array())
{
$CurlHandleList = array();
$ResultData = array();
Function onLoadEvent
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var onLoadEvent = function (jqXHR, Config) {
if (settings.Notify.onLoad.Message.length > 0 || settings.Notify.onLoad.Title.length > 0) {
var Notify = getNotifyObject();
if (!Notify) {
document.ModAjax.NotifyHandler[settings.Notify.Hash] = $.notify({
Method setStep
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function setStep(Step $Step)
{
if( preg_match('!^/Api/!is', $Step->getRoute() ) ) {
return null;
Function onErrorEvent
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var onErrorEvent = function (request, status, error) {
isErrorEvent = true;
var Notify = getNotifyObject();
if (Notify) {
Notify.update({progress: getRandomInt(50, 80)});