src/Luminous/Scanners.php
private function getScannerArray($languageName, $default = true)
    {
        $g = null;
        if (array_key_exists($languageName, $this->lookupTable)) {
            $g =  $this->lookupTable[$languageName];
        } elseif ($this->defaultScanner !== null && $default === true) {
            $g = $this->lookupTable[$this->defaultScanner];
        }

        if ($g === null) {
            return false;
        }

        return $g;
    }
private function getScannerArray($languageName, $default = true)
    {
        $g = null;
        if (array_key_exists($languageName, $this->lookupTable)) {
            $g =  $this->lookupTable[$languageName];
        } elseif ($this->defaultScanner !== null && $default === true) {
            $g = $this->lookupTable[$this->defaultScanner];
        }

        if ($g === null) {
            return false;
        }

        return $g;
    }
private function getScannerArray ( $ languageName , $ default = true ) { $ g = null ; if ( array_key_exists ( $ languageName , $ this -> lookupTable ) ) { $ g = $ this -> lookupTable [ $ languageName ] ; } elseif ( $ this -> defaultScanner !== null && $ default === true ) { $ g = $ this -> lookupTable [ $ this -> defaultScanner ] ; } if ( $ g === null ) { return false ; } return $ g ; }
Method which retrives the desired scanner array, and
recursively settles the include dependencies while doing so.
@param language_name the name under which the gramar was originally indexed
@param default if true: if the scanner doesn't exist, return the default
scanner. If false, return false
@return the scanner-array stored for the given language name
@internal
@see LuminousScanners::GetScanner
Method which retrives the desired scanner array and recursively settles the include dependencies while doing so .