services/Generator.php
private function _loadLanguageItems()
    {
        $this->_languageItems = LanguageSource::find()
            ->joinWith(['languageTranslate' => function ($query) {
                $query->where(['language' => $this->_languageId]);
            },
            ])
            ->where(['category' => Scanner::CATEGORY_JAVASCRIPT])
            ->all();
    }
private function _loadLanguageItems()
    {
        $this->_languageItems = LanguageSource::find()
            ->joinWith(['languageTranslate' => function ($query) {
                $query->where(['language' => $this->_languageId]);
            },
            ])
            ->where(['category' => Scanner::CATEGORY_JAVASCRIPT])
            ->all();
    }
private function _loadLanguageItems ( ) { $ this -> _languageItems = LanguageSource :: find ( ) -> joinWith ( [ 'languageTranslate' => function ( $ query ) { $ query -> where ( [ 'language' => $ this -> _languageId ] ) ; } , ] ) -> where ( [ 'category' => Scanner :: CATEGORY_JAVASCRIPT ] ) -> all ( ) ; }
Loads language elements in JavaScript category.
Loads language elements in JavaScript category .