Backend\Modules\Faq\Installer\Installer::getCategory PHP 메소드

getCategory() 개인적인 메소드

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