public function getCategoryfromPage()
    {
        $this->logger->debug('Category:getCategoryfromPage');
        if (!$this->setIdentifier('', 's')) {
            return [];
        }
        $this->setGeneratorCategories();
        return $this->getCategoryinfoResponse();
    }
public function getCategoryfromPage()
    {
        $this->logger->debug('Category:getCategoryfromPage');
        if (!$this->setIdentifier('', 's')) {
            return [];
        }
        $this->setGeneratorCategories();
        return $this->getCategoryinfoResponse();
    }
public function getCategoryfromPage ( ) { $ this -> logger -> debug ( 'Category:getCategoryfromPage' ) ; if ( ! $ this -> setIdentifier ( '' , 's' ) ) { return [ ] ; } $ this -> setGeneratorCategories ( ) ; return $ this -> getCategoryinfoResponse ( ) ; }
get categories from a page

@see https://www.mediawiki.org/wiki/API:Categories
@return array
get categories from a page