private function checkModelRequirements() {
        $reload = false;
        $classAnnots = $this->getAnnotations()->getClass();
        if (!empty($classAnnots[1]) && is_array($classAnnots[1])) {
            foreach ($classAnnots[1] as $desc) {
                if (strtolower(substr($desc, 0, 4)) !== 'dbs\\')
                    continue;
                $this->performClassAnnots($desc);
                $reload = true;
            }
        }

        if ($reload) {
            @session_start();
            $_SESSION['mapperSave'] = true;
            header('Location: //' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']);
            exit;
        }
    }
private function checkModelRequirements() {
        $reload = false;
        $classAnnots = $this->getAnnotations()->getClass();
        if (!empty($classAnnots[1]) && is_array($classAnnots[1])) {
            foreach ($classAnnots[1] as $desc) {
                if (strtolower(substr($desc, 0, 4)) !== 'dbs\\')
                    continue;
                $this->performClassAnnots($desc);
                $reload = true;
            }
        }

        if ($reload) {
            @session_start();
            $_SESSION['mapperSave'] = true;
            header('Location: //' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']);
            exit;
        }
    }
private function checkModelRequirements ( ) { $ reload = false ; $ classAnnots = $ this -> getAnnotations ( ) -> getClass ( ) ; if ( ! empty ( $ classAnnots [ 1 ] ) && is_array ( $ classAnnots [ 1 ] ) ) { foreach ( $ classAnnots [ 1 ] as $ desc ) { if ( strtolower ( substr ( $ desc , 0 , 4 ) ) !== 'dbs\\' ) continue ; $ this -> performClassAnnots ( $ desc ) ; $ reload = true ; } } if ( $ reload ) { @ session_start ( ) ; $ _SESSION [ 'mapperSave' ] = true ; header ( 'Location: //' . $ _SERVER [ 'SERVER_NAME' ] . $ _SERVER [ 'REQUEST_URI' ] ) ; exit ; } }
Checks class annotations for requirements
Checks class annotations for requirements