Backend\Modules\Faq\Installer\Installer::getCategory PHP Méthode

getCategory() private méthode

Fetch the id of the first category in this language we come across
private getCategory ( string $language ) : integer
$language string
Résultat integer
    private function getCategory($language)
    {
        return (int) $this->getDB()->getVar('SELECT id
             FROM faq_categories
             WHERE language = ?', array((string) $language));
    }